diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2019-03-06 17:22:45 +0200 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2019-03-07 12:13:34 +0200 |
commit | bdae53060354c8ea525b8c9c5202d6097ee4dcc3 (patch) | |
tree | eef5e16bf7aa60c74edb854999132c00db6bf1cd /lib | |
parent | c2f180e72fff44516302ebb10f8b0a357463096b (diff) | |
download | gitlab-ce-bdae53060354c8ea525b8c9c5202d6097ee4dcc3.tar.gz |
Add hard coded event type filter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/event_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event_filter.rb b/lib/event_filter.rb index 415e430a0c9..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], target_type: @filter.capitalize) + events.where(action: [Event::CREATED, Event::UPDATED, Event::CLOSED, Event::REOPENED], target_type: 'Issue') else events end |