7419: HasEventBase should not include primary role

This commit is contained in:
Nick Hall 2014-02-02 16:08:06 +00:00
parent c31dfcb767
commit 600043913b
2 changed files with 2 additions and 3 deletions

View File

@ -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')

View File

@ -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)