You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/issues
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>
10 months ago
..
assignees.go
assignees_test.go
comment.go Dont load Review if Comment is CommentTypeReviewRequest (#28551) (#29160) 1 year ago
comment_code.go Load attachments for code comments (#30124) (#30126) 11 months ago
comment_list.go Use ghost user if user was not found (#29161) (#29169) 1 year ago
comment_test.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
content_history.go Fix issue & comment history bugs (#29525) (#29527) 12 months ago
content_history_test.go Fix issue & comment history bugs (#29525) (#29527) 12 months ago
dependency.go
dependency_test.go
issue.go Performance improvements for pull request list page (#29900) (#29972) 11 months ago
issue_index.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
issue_label.go Don't let API add 2 exclusive labels from same scope (#27433) (#27460) 1 year ago
issue_label_test.go Don't let API add 2 exclusive labels from same scope (#27433) (#27460) 1 year ago
issue_list.go Performance improvements for pull request list page (#29900) (#29972) 11 months ago
issue_list_test.go
issue_lock.go
issue_project.go Add missing database transaction for new issue (#29490) (#29607) 12 months ago
issue_search.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 10 months ago
issue_stats.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 10 months ago
issue_test.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issue_update.go Don't use subselect in `DeleteIssuesByRepoID` (#27332) (#27408) 1 year ago
issue_user.go Add index to `issue_user.issue_id` (#27154) (#27158) 1 year ago
issue_user_test.go
issue_watch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_watch_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_xref.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issue_xref_test.go
label.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
label_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
main_test.go
milestone.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
milestone_list.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
milestone_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
pull.go Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 11 months ago
pull_list.go Performance improvements for pull request list page (#29900) (#29972) 11 months ago
pull_test.go Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 11 months ago
reaction.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
reaction_test.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
review.go Fix misuse of `TxContext` (#30061) (#30062) 11 months ago
review_list.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
review_test.go Fix 500 when deleting a dismissed review (#27903) (#27910) 1 year ago
stopwatch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
stopwatch_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
tracked_time.go
tracked_time_test.go