src/plugins/DescendReport.py: Don't sort children (Bug #1453010)

svn: r6350
This commit is contained in:
Brian Matherly 2006-04-17 04:09:00 +00:00
parent 0ce28d7339
commit 36816a7562
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,6 @@
2006-04-16 Brian Matherly <pez4brian@users.sourceforge.net>
* src/plugins/DescendReport.py: Don't sort children (Bug #1453010)
2006-04-15 Don Allingham <don@gramps-project.org> 2006-04-15 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: provide an event description if one does * src/GrampsDb/_ReadXML.py: provide an event description if one does
not exist. not exist.

View File

@ -174,11 +174,9 @@ class DescendantReport(Report.Report):
self.dump_dates(spouse) self.dump_dates(spouse)
self.doc.end_paragraph() self.doc.end_paragraph()
childlist = family.get_child_handle_list()[:] childlist = family.get_child_ref_list()[:]
childlist.sort(self.by_birthdate) for child_ref in childlist:
child = self.database.get_person_from_handle(child_ref.ref)
for child_handle in childlist:
child = self.database.get_person_from_handle(child_handle)
self.dump(level+1,child) self.dump(level+1,child)
#------------------------------------------------------------------------ #------------------------------------------------------------------------