From 194bafd48479568f602e68705b7482224bb7b065 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 26 Jul 2016 18:35:05 +0100 Subject: [PATCH] 9427: Add new argument to IsEnclosedByRule --- gramps/gui/filters/sidebar/_placesidebarfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/filters/sidebar/_placesidebarfilter.py b/gramps/gui/filters/sidebar/_placesidebarfilter.py index 04bff9642..1bade77c1 100644 --- a/gramps/gui/filters/sidebar/_placesidebarfilter.py +++ b/gramps/gui/filters/sidebar/_placesidebarfilter.py @@ -139,7 +139,7 @@ class PlaceSidebarFilter(SidebarFilter): generic_filter.add_rule(rule) if enclosed: - rule = IsEnclosedBy([enclosed]) + rule = IsEnclosedBy([enclosed, '0']) generic_filter.add_rule(rule) rule = HasData([name, ptype, code], use_regex=regex)