7419: HasEventBase should not include primary role
This commit is contained in:
parent
c31dfcb767
commit
600043913b
@ -50,8 +50,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')
|
||||
|
@ -130,7 +130,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…
x
Reference in New Issue
Block a user