Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d9e88b6a
Commit
d9e88b6a
authored
Jan 23, 2019
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update activity filter for issues
parent
5a75aa59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/gt-update-activity-filter-for-issues.yml
...elogs/unreleased/gt-update-activity-filter-for-issues.yml
+5
-0
lib/event_filter.rb
lib/event_filter.rb
+1
-1
No files found.
changelogs/unreleased/gt-update-activity-filter-for-issues.yml
0 → 100644
View file @
d9e88b6a
---
title
:
Update activity filter for issues
merge_request
:
23423
author
:
George Tsiolis
type
:
changed
lib/event_filter.rb
View file @
d9e88b6a
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment