Fix problem introduced with commit 475d5db where genres and composers don't get sorted

This commit is contained in:
ejurgensen
2015-05-26 21:10:28 +02:00
parent 79cdfebf34
commit 8dd1e0fde2
4 changed files with 20 additions and 28 deletions

View File

@@ -2169,11 +2169,13 @@ daap_reply_browse(struct evhttp_request *req, struct evbuffer *evbuf, char **uri
{
tag = "abgn";
qp.type = Q_BROWSE_GENRES;
qp.sort = S_GENRE;
}
else if (strcmp(uri[3], "composers") == 0)
{
tag = "abcp";
qp.type = Q_BROWSE_COMPOSERS;
qp.sort = S_COMPOSER;
}
else
{