0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-27 03:29:06 +02:00
gitea/modules/indexer/issues/db
Lunny Xiao 09df5c9c7d
Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447)
backport #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>
2024-04-13 17:44:57 +00:00
..
db.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 2024-04-13 17:44:57 +00:00
options.go Fix sort bug on repository issues list (#28897) (#28901) 2024-01-23 08:00:52 +01:00