Fix Person Sidebarfilter when using 'Event' and Reg expressions (#717)

Fixes #10659
This commit is contained in:
Paul Culley 2018-11-27 22:10:30 -06:00 committed by Sam Manzi
parent a9748571f3
commit 6cdc88e6f8

View File

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