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
..
2022-12-28 15:31:56 -05:00
2023-11-25 23:08:20 -05:00
2022-07-30 12:43:48 -04:00
2023-11-25 23:08:20 -05:00
2023-01-17 21:04:18 -05:00
2023-01-17 21:04:18 -05:00
2022-12-28 15:31:56 -05:00
2022-12-28 15:31:56 -05:00
2023-03-18 18:28:01 -04:00
2023-11-27 13:06:23 -05:00
2022-07-30 12:43:48 -04:00
2023-04-04 10:30:28 -04:00
2022-12-21 14:53:36 -05:00
2023-01-15 15:11:37 -05:00
2022-09-30 18:54:25 -04:00
2023-01-01 20:28:03 -05:00
2023-11-25 12:13:36 -05:00
2023-06-02 16:30:20 -04:00
2022-07-30 12:43:48 -04:00
2023-11-25 12:13:36 -05:00
2022-07-30 12:43:48 -04:00
2022-09-30 20:18:14 -04:00
2023-01-15 15:11:37 -05:00
2023-01-15 15:11:37 -05:00
2022-09-30 18:54:25 -04:00
2023-01-24 18:36:47 -05:00
2023-03-18 18:28:01 -04:00
2023-05-22 23:50:16 -04:00
2023-11-27 13:06:23 -05:00
2022-07-30 12:43:48 -04:00
2022-09-30 18:54:25 -04:00
2023-11-25 12:13:36 -05:00
2022-07-26 16:53:17 -04:00
2021-10-28 13:58:06 -04:00
2022-07-26 16:53:17 -04:00
2023-11-27 13:06:23 -05:00
2022-09-30 18:54:25 -04:00
2022-09-30 20:18:14 -04:00
2023-01-24 20:18:10 -05:00
2023-01-24 20:18:10 -05:00