From 0993059ff7e561504c966d91b372dfc745f9953e Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 28 Aug 2013 11:57:25 +0000 Subject: [PATCH] 7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not' svn: r22918 --- src/Filters/Rules/Person/_HasFamilyEvent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filters/Rules/Person/_HasFamilyEvent.py b/src/Filters/Rules/Person/_HasFamilyEvent.py index e213ff60b..71192c4f6 100644 --- a/src/Filters/Rules/Person/_HasFamilyEvent.py +++ b/src/Filters/Rules/Person/_HasFamilyEvent.py @@ -82,7 +82,7 @@ class HasFamilyEvent(Rule): if not self.match_substring(3, event.get_description()): val = 0 if self.date: - if event.get_date_object().match(self.date): + if not event.get_date_object().match(self.date): val = 0 if self.list[2]: place_id = event.get_place_handle()