Commit d9e88b6a authored by George Tsiolis's avatar George Tsiolis

Update activity filter for issues

parent 5a75aa59
---
title: Update activity filter for issues
merge_request: 23423
author: George Tsiolis
type: changed
...@@ -33,7 +33,7 @@ class EventFilter ...@@ -33,7 +33,7 @@ class EventFilter
when TEAM when TEAM
events.where(action: [Event::JOINED, Event::LEFT, Event::EXPIRED]) events.where(action: [Event::JOINED, Event::LEFT, Event::EXPIRED])
when ISSUE 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 else
events events
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment