mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -119,6 +119,14 @@ class EventFilter
|
||||
end
|
||||
end
|
||||
|
||||
def filters
|
||||
[ALL, PUSH, MERGED, ISSUE, COMMENTS, TEAM, WIKI, DESIGNS]
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
other.is_a?(self.class) && filter == other.filter
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def in_operator_params(array_data:, scope: nil, in_column: nil, in_values: nil, order_hint_column: nil)
|
||||
@ -213,10 +221,6 @@ class EventFilter
|
||||
def design_events(events)
|
||||
events.for_design
|
||||
end
|
||||
|
||||
def filters
|
||||
[ALL, PUSH, MERGED, ISSUE, COMMENTS, TEAM, WIKI, DESIGNS]
|
||||
end
|
||||
end
|
||||
# rubocop: enable CodeReuse/ActiveRecord
|
||||
|
||||
|
Reference in New Issue
Block a user