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:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2019-01-23 16:50:54 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2019-03-07 13:13:34 +0300
commitd9e88b6ab6ab13f4c38c45a88abc0d4655531460 (patch)
treee78f9ecb05ac1ec0224a1649b3f6b4eeff72299c /lib/event_filter.rb
parent5a75aa59dbafc8f0c25800f952df1e0aaa2d4dd5 (diff)
Update activity filter for issues
Diffstat (limited to 'lib/event_filter.rb')
-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..415e430a0c9 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: @filter.capitalize)
else
events
end