diff --git a/pkg/models/task_comments.go b/pkg/models/task_comments.go index 69d061164..ded53acf4 100644 --- a/pkg/models/task_comments.go +++ b/pkg/models/task_comments.go @@ -276,7 +276,7 @@ func (tc *TaskComment) ReadAll(s *xorm.Session, auth web.Auth, search string, pa return } - reactions, err := getReactionsForEntityIDs(s, ReactionKindTask, commentIDs) + reactions, err := getReactionsForEntityIDs(s, ReactionKindComment, commentIDs) if err != nil { return }