mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-05 23:33:13 -05:00
Add optional sorting clause to Q_ITEMS
This commit is contained in:
@@ -891,6 +891,8 @@ get_query_params(struct evkeyvalq *query, struct query_params *qp)
|
||||
|
||||
qp->idx_type = I_SUB;
|
||||
|
||||
qp->sort = S_NONE;
|
||||
|
||||
param = evhttp_find_header(query, "query");
|
||||
if (!param)
|
||||
param = evhttp_find_header(query, "filter");
|
||||
|
||||
Reference in New Issue
Block a user