diff --git a/gramps/gui/filters/sidebar/_personsidebarfilter.py b/gramps/gui/filters/sidebar/_personsidebarfilter.py index f662c280f..32f794025 100644 --- a/gramps/gui/filters/sidebar/_personsidebarfilter.py +++ b/gramps/gui/filters/sidebar/_personsidebarfilter.py @@ -208,7 +208,7 @@ class PersonSidebarFilter(SidebarFilter): # Build an event filter if needed if etype: - rule = HasEvent([etype, '', '', '', '', True], use_regex=regex) + rule = HasEvent([etype, '', '', '', '', '1'], use_regex=regex) generic_filter.add_rule(rule) # Build birth event filter if needed