Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <fcardozo@gitlab.com>2018-11-05 15:30:14 +0300
committerPhil Hughes <me@iamphill.com>2018-11-05 15:30:14 +0300
commitb4d005eb7b4a51e8cf6b11e6aea3d0c264e4abfd (patch)
tree2d073cb044761fce0a08ca375b195e12836c985b /app/models/note.rb
parent90473e064eac21be283e751005e0c7abbdbf9089 (diff)
Add 'only history' option to notes filter
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 990689a95f5..592efb714f3 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -117,6 +117,8 @@ class Note < ActiveRecord::Base
case notes_filter
when UserPreference::NOTES_FILTERS[:only_comments]
user
+ when UserPreference::NOTES_FILTERS[:only_activity]
+ system
else
all
end