diff --git a/gramps/gui/filters/sidebar/_personsidebarfilter.py b/gramps/gui/filters/sidebar/_personsidebarfilter.py index 9810d2486..80b84b9eb 100644 --- a/gramps/gui/filters/sidebar/_personsidebarfilter.py +++ b/gramps/gui/filters/sidebar/_personsidebarfilter.py @@ -206,7 +206,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