summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-17 13:16:16 +0200
committerValery Sizov <vsv2711@gmail.com>2015-11-19 01:25:59 +0200
commit06a4fd1035c58d89251fb979dafa8610ba8c5157 (patch)
tree27b80cbb10133be0aed1dd2d236504f72f93ffae /app/finders
parentfd2c0fe446c7f761b845c91307ef8110d869e8e8 (diff)
downloadgitlab-ce-06a4fd1035c58d89251fb979dafa8610ba8c5157.tar.gz
css improvements
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/notes_finder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/notes_finder.rb b/app/finders/notes_finder.rb
index ab252821b52..fa4c635f55c 100644
--- a/app/finders/notes_finder.rb
+++ b/app/finders/notes_finder.rb
@@ -12,9 +12,9 @@ class NotesFinder
when "commit"
project.notes.for_commit_id(target_id).not_inline
when "issue"
- project.issues.find(target_id).notes.inc_author
+ project.issues.find(target_id).notes.nonawards.inc_author
when "merge_request"
- project.merge_requests.find(target_id).mr_and_commit_notes.inc_author
+ project.merge_requests.find(target_id).mr_and_commit_notes.nonawards.inc_author
when "snippet", "project_snippet"
project.snippets.find(target_id).notes
else