navidrome/conf
Deluan Quintão 60a5fbe1fe
Optimize search3, by removing OFFSET when paginating (#2655)
* Optimize pagination, removing offset

* For search, don't add `where` clause for empty queries

* Revert "Replace `COUNT(DISTINCT primary_key)` with `COUNT(*)`"

Genres are required as part of the count queries, so filter by genres work

* Optimize search3 query, using order by id if it is a "" query.

Also fix the optimizePagination query logic

* Allow offset optimizer threshold to be configured
2023-11-27 13:06:23 -05:00
..
configtest Fix background images when BaseURL is specified 2022-11-29 14:48:05 -05:00
configuration.go Optimize search3, by removing OFFSET when paginating (#2655) 2023-11-27 13:06:23 -05:00