0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-22 05:46:12 -05:00
forgejo/models/issues
Lunny Xiao f2feb34927
chore(performance): loadCommentsByType sets Issues
Keep the setting of comment.Issues from the refactor. It is cheap and
potentially saves loading the issue again.

Former title: Some small refactors (#33144)

(cherry picked from commit d3083d21981f9445cf7570956a1fdedfc8578b56)

Conflicts:
	models/issues/comment_list.go
	models/issues/issue_list.go
	routers/web/repo/issue_view.go
2025-01-12 17:52:38 +01:00
..
TestGetUIDsAndStopwatch fix: use better code to group UID and stopwatches 2024-11-16 15:59:02 +01:00
assignees.go
assignees_test.go
comment.go Fix issue comment number (#30556) 2025-01-05 12:21:39 +00:00
comment_code.go
comment_list.go
comment_list_test.go
comment_test.go Fix issue comment number (#30556) 2025-01-05 12:21:39 +00:00
content_history.go
content_history_test.go
dependency.go
dependency_test.go
issue.go chore(performance): loadCommentsByType sets Issues 2025-01-12 17:52:38 +01:00
issue_index.go
issue_index_test.go
issue_label.go chore(refactor): split ReloadLabels out of LoadLabels in issue model 2024-11-07 11:05:38 +01:00
issue_label_test.go chore(refactor): split ReloadLabels out of LoadLabels in issue model 2024-11-07 11:05:38 +01:00
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_search.go
issue_stats.go
issue_stats_test.go
issue_test.go
issue_update.go Trim title before insert/update to database to match the size requirements of database (#32498) 2024-11-17 12:18:56 +01:00
issue_user.go
issue_user_test.go
issue_watch.go Strict pagination check (#32548) 2024-12-01 07:56:45 +01:00
issue_watch_test.go
issue_xref.go
issue_xref_test.go
label.go Support org labels when adding labels by label names (#32988) 2024-12-28 19:32:09 +00:00
label_test.go
main_test.go
milestone.go
milestone_list.go
milestone_test.go
pull.go Trim title before insert/update to database to match the size requirements of database (#32498) 2024-11-17 12:18:56 +01:00
pull_list.go
pull_test.go
reaction.go Strict pagination check (#32548) 2024-12-01 07:56:45 +01:00
reaction_test.go
review.go Fix issue comment number (#30556) 2025-01-05 12:21:39 +00:00
review_list.go
review_test.go
stopwatch.go Strict pagination check (#32548) 2024-12-01 07:56:45 +01:00
stopwatch_test.go fix: use better code to group UID and stopwatches 2024-11-16 15:59:02 +01:00
tracked_time.go Strict pagination check (#32548) 2024-12-01 07:56:45 +01:00
tracked_time_test.go