From de665fc6c8e895ea8d4d45f7fb7f0d525ca079d4 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Sun, 16 Feb 2020 15:16:48 +0000 Subject: [PATCH] [daap] honor requests to sort by 'releasedate' --- src/httpd_daap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd_daap.c b/src/httpd_daap.c index 07f5275e..10598e08 100644 --- a/src/httpd_daap.c +++ b/src/httpd_daap.c @@ -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);