3284: Descendant Report omits last-level spouses, by lcc
svn: r13365
This commit is contained in:
parent
5504df77ba
commit
b0eef2a8ba
@ -144,9 +144,6 @@ class DescendantReport(Report):
|
|||||||
self.dump_dates(person)
|
self.dump_dates(person)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
if level >= self.max_generations:
|
|
||||||
return
|
|
||||||
|
|
||||||
for family_handle in person.get_family_handle_list():
|
for family_handle in person.get_family_handle_list():
|
||||||
family = self.database.get_family_from_handle(family_handle)
|
family = self.database.get_family_from_handle(family_handle)
|
||||||
|
|
||||||
@ -160,6 +157,9 @@ class DescendantReport(Report):
|
|||||||
self.dump_dates(spouse)
|
self.dump_dates(spouse)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
|
if level >= self.max_generations:
|
||||||
|
continue
|
||||||
|
|
||||||
childlist = family.get_child_ref_list()[:]
|
childlist = family.get_child_ref_list()[:]
|
||||||
for child_ref in childlist:
|
for child_ref in childlist:
|
||||||
child = self.database.get_person_from_handle(child_ref.ref)
|
child = self.database.get_person_from_handle(child_ref.ref)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user