7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'

svn: r22918
This commit is contained in:
Doug Blank 2013-08-28 11:57:25 +00:00
parent d4249ad745
commit 0993059ff7

View File

@ -82,7 +82,7 @@ class HasFamilyEvent(Rule):
if not self.match_substring(3, event.get_description()): if not self.match_substring(3, event.get_description()):
val = 0 val = 0
if self.date: if self.date:
if event.get_date_object().match(self.date): if not event.get_date_object().match(self.date):
val = 0 val = 0
if self.list[2]: if self.list[2]:
place_id = event.get_place_handle() place_id = event.get_place_handle()