7419: HasEventBase should not include primary role

This commit is contained in:
Nick Hall 2014-02-02 16:12:00 +00:00
parent 94adf0909b
commit 356e36fe78
2 changed files with 2 additions and 3 deletions

View File

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

View File

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