diff --git a/gramps/gen/filters/rules/_haseventbase.py b/gramps/gen/filters/rules/_haseventbase.py index a592fb587..4e2a0daeb 100644 --- a/gramps/gen/filters/rules/_haseventbase.py +++ b/gramps/gen/filters/rules/_haseventbase.py @@ -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') diff --git a/gramps/gui/filters/sidebar/_eventsidebarfilter.py b/gramps/gui/filters/sidebar/_eventsidebarfilter.py index 70b3e05c8..b80452409 100644 --- a/gramps/gui/filters/sidebar/_eventsidebarfilter.py +++ b/gramps/gui/filters/sidebar/_eventsidebarfilter.py @@ -132,7 +132,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)