7419: HasEventBase should not include primary role
This commit is contained in:
parent
94adf0909b
commit
356e36fe78
@ -51,8 +51,7 @@ class HasEventBase(Rule):
|
||||
'Date:',
|
||||
'Place:',
|
||||
'Description:',
|
||||
'Main Participants:',
|
||||
'Primary Role:' ]
|
||||
'Main Participants:' ]
|
||||
name = 'Events matching parameters'
|
||||
description = "Matches events with particular parameters"
|
||||
category = _('Event filters')
|
||||
|
@ -142,7 +142,7 @@ class EventSidebarFilter(SidebarFilter):
|
||||
rule = RegExpIdOf([gid], use_regex=regex)
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
rule = HasEvent([etype, date, place, desc, mainparts, True],
|
||||
rule = HasEvent([etype, date, place, desc, mainparts],
|
||||
use_regex=regex)
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user