#2124: Baptism as alternate birth event on Det (Ancestral,Descendant) reports and Ancestral report
svn: r10912
This commit is contained in:
parent
4b3780f1a1
commit
b4c4161c9d
@ -2584,7 +2584,7 @@ def baptised_str(database, person, person_name=None, verbose=True, empty_date=""
|
|||||||
event = database.get_event_from_handle(event_ref.ref)
|
event = database.get_event_from_handle(event_ref.ref)
|
||||||
if event and event.get_type() == gen.lib.EventType.BAPTISM \
|
if event and event.get_type() == gen.lib.EventType.BAPTISM \
|
||||||
and event_ref.get_role() == gen.lib.EventRoleType.PRIMARY:
|
and event_ref.get_role() == gen.lib.EventRoleType.PRIMARY:
|
||||||
burial = event
|
baptism = event
|
||||||
break
|
break
|
||||||
if baptism:
|
if baptism:
|
||||||
bdate = DateHandler.get_date(baptism)
|
bdate = DateHandler.get_date(baptism)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user