8623: Detailed Descendant Report - only first family event output
This commit is contained in:
parent
aaa64bed8e
commit
e3b4abc1e0
@ -693,7 +693,7 @@ class DetDescendantReport(Report):
|
|||||||
|
|
||||||
mother_name, father_name = self.__get_mate_names(family)
|
mother_name, father_name = self.__get_mate_names(family)
|
||||||
|
|
||||||
first = 1
|
first = True
|
||||||
for event_ref in family.get_event_ref_list():
|
for event_ref in family.get_event_ref_list():
|
||||||
if first:
|
if first:
|
||||||
self.doc.start_paragraph('DDR-MoreHeader')
|
self.doc.start_paragraph('DDR-MoreHeader')
|
||||||
@ -702,7 +702,7 @@ class DetDescendantReport(Report):
|
|||||||
% {'mother_name' : mother_name,
|
% {'mother_name' : mother_name,
|
||||||
'father_name' : father_name })
|
'father_name' : father_name })
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
first = 0
|
first = False
|
||||||
self.write_event(event_ref)
|
self.write_event(event_ref)
|
||||||
return first
|
return first
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user