diff --git a/gramps/gen/filters/rules/person/_hasfamilyevent.py b/gramps/gen/filters/rules/person/_hasfamilyevent.py index 3131d8569..bb133a01a 100644 --- a/gramps/gen/filters/rules/person/_hasfamilyevent.py +++ b/gramps/gen/filters/rules/person/_hasfamilyevent.py @@ -83,7 +83,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() diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index deb767234..2be05e6d8 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -1176,13 +1176,13 @@ class GrampsPreferences(ConfigureDialog): self.add_spinner(table, _('Date about range'), - 0, 'behavior.date-about-range', (1, 80)) + 0, 'behavior.date-about-range', (0, 9999)) self.add_spinner(table, _('Date after range'), - 1, 'behavior.date-after-range', (1, 80)) + 1, 'behavior.date-after-range', (0, 9999)) self.add_spinner(table, _('Date before range'), - 2, 'behavior.date-before-range', (1, 80)) + 2, 'behavior.date-before-range', (0, 9999)) self.add_spinner(table, _('Maximum age probably alive'), 3, 'behavior.max-age-prob-alive', (80, 140))