[daap] honor requests to sort by 'releasedate'

This commit is contained in:
whatdoineed2do/Ray 2020-02-16 15:16:48 +00:00 committed by ejurgensen
parent 78194807db
commit de665fc6c8

View File

@ -573,7 +573,7 @@ query_params_set(struct query_params *qp, int *sort_headers, struct httpd_reques
else if (strcmp(param, "artist") == 0 && (type != Q_BROWSE_ARTISTS)) // Only set if non-default sort requested
qp->sort = S_ARTIST;
else if (strcmp(param, "releasedate") == 0)
qp->sort = S_NAME;
qp->sort = S_RELEASEDATE;
else
DPRINTF(E_DBG, L_DAAP, "Unknown sort param: %s\n", param);