7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'; changed date before and after max to be 9999
svn: r22917
This commit is contained in:
parent
68ed5a2838
commit
196ad8feb7
@ -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()
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user