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
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2019-03-07 14:24:23 +0300
committerDouwe Maan <douwe@gitlab.com>2019-03-07 14:24:23 +0300
commite571cbaa2f0b5096e514bc96fbc8f26909d8e52b (patch)
treeae7102a87c932b8843c5644395d2a95c57a5ee5a /lib
parent45b3c5420c1a45595211f941bac23ad9f2188af7 (diff)
parentf40aecddb763cf0b9a37a8e9aa00229e60bd5e2b (diff)
Merge branch 'gt-update-activity-filter-for-issues' into 'master'
Update activity filter for issues Closes #53334 See merge request gitlab-org/gitlab-ce!23423
Diffstat (limited to 'lib')
-rw-r--r--lib/event_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event_filter.rb b/lib/event_filter.rb
index 24fdcd6fbb1..85bf9c14f26 100644
--- a/lib/event_filter.rb
+++ b/lib/event_filter.rb
@@ -33,7 +33,7 @@ class EventFilter
when TEAM
events.where(action: [Event::JOINED, Event::LEFT, Event::EXPIRED])
when ISSUE
- events.where(action: [Event::CREATED, Event::UPDATED, Event::CLOSED, Event::REOPENED])
+ events.where(action: [Event::CREATED, Event::UPDATED, Event::CLOSED, Event::REOPENED], target_type: 'Issue')
else
events
end