Lunny Xiao 9ca245ad96
Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990)
This PR uses `db.ListOptions` instead of `Paginor` to make the code
simpler.
And it also fixed the performance problem when viewing /pulls or
/issues. Before the counting in fact will also do the search.

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 3f26fe2fa2c7141c9e622297e50a70f3e0003e4d)
2024-03-30 07:17:29 +01:00
..
2024-03-26 19:04:26 +01:00
2023-12-19 09:29:05 +00:00
2024-03-28 22:27:53 +01:00
2023-07-07 05:31:56 +00:00
2024-03-26 19:04:26 +01:00
2024-02-05 13:33:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2024-03-27 22:26:55 +01:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-03-27 15:38:38 +01:00
2024-03-25 16:25:02 +01:00