Stats Block Shows Latest Birth Year incorrectly
Brought to you by:
canajun2eh,
yalnifj
I have one individual marked as having been born "Bef 2008" and one born today (gedcom snippets below). The statistics block shows the "Before 2008" birth for the Latest Birth Year.
1 BIRT
2 DATE Bef 2008
and a second born today with the record
1 BIRT
2 DATE 21 Feb 2008
Logged In: YES
user_id=1466942
Originator: NO
This is a tricky one to fix. We get the stats from the pgv_dates table. This table doesn't include any qualifier such as "BEF", "ABT", etc. Hence we just have 2008, which is assumed to be synonymous with "BET 01 JAN 2008 AND 31 DEC 2008".
In order to get the bef/aft info, we'd need to go back to the original record, which would be *very* slow.
(We use this info to sort events on the INDI/FAM pages, but this is only because we have the info at that point. We don't have it here.)
It's not ideal, but a workaround would be to replace "BEF 2008" with "BEF 01-JAN-2008".
Logged In: YES
user_id=634811
Originator: YES
Thanks for looking into this. This is certainly not worth much effort, and I am lowering the priority even farther, but will keep it open for tracking. I will use the workaround that you suggested.
Logged In: YES
user_id=1198414
Originator: NO
It looks as if the Dates table needs amending to include the qualifiers.
Bet 01 JAN 2008 and 31 DEC 2008 is NOT the same as Bef 2008. Bef 2008 can't be translated to a meaningful range start, but the range end is 31 DEC 2007.