0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 00:00:34 +01:00
gitea/models/issues
Jason Song 066af372e3
Load reviewer for comments when dismissing a review (#24281)
If a comment dismisses a review, we need to load the reviewer to show
whose review has been dismissed.

Related to:

20b6ae0e53/templates/repo/issue/view_content/comments.tmpl (L765-L770)

We don't need `.Review.Reviewer` for all comments, because
"dismissing" doesn't happen often, or we would have already received
error reports.
2023-04-23 11:04:23 -04:00
..
assignees_test.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
assignees.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
comment_code.go
comment_list.go Load reviewer for comments when dismissing a review (#24281) 2023-04-23 11:04:23 -04:00
comment_test.go Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
comment.go Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
content_history_test.go
content_history.go
dependency_test.go
dependency.go
issue_index.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_project.go
issue_test.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
issue_xref.go
issue.go Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
label_test.go
label.go
main_test.go
milestone_test.go
milestone.go
pull_list.go
pull_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
pull.go
reaction_test.go
reaction.go
review_test.go
review.go
stopwatch_test.go
stopwatch.go
tracked_time_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
tracked_time.go