diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-03-25 02:51:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 18:51:08 +0000 |
commit | 3f26fe2fa2c7141c9e622297e50a70f3e0003e4d (patch) | |
tree | 06ada3bdd9f671e816f2773dcf9ca617e2f0e017 /modules/storage | |
parent | ec3d467f15a683b305ac165c3eba6683628dcb25 (diff) | |
download | gitea-3f26fe2fa2c7141c9e622297e50a70f3e0003e4d.tar.gz gitea-3f26fe2fa2c7141c9e622297e50a70f3e0003e4d.zip |
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>
Diffstat (limited to 'modules/storage')
0 files changed, 0 insertions, 0 deletions