From 1ca0d3d9e16091e1317724f0ce906d00ae7cb98f Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 17 Apr 2006 04:09:00 +0000 Subject: [PATCH] src/plugins/DescendReport.py: Don't sort children (Bug #1453010) svn: r6350 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/DescendReport.py | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 097076e56..87bfa676a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-04-16 Brian Matherly + * src/plugins/DescendReport.py: Don't sort children (Bug #1453010) + 2006-04-15 Don Allingham * src/GrampsDb/_ReadXML.py: provide an event description if one does not exist. diff --git a/gramps2/src/plugins/DescendReport.py b/gramps2/src/plugins/DescendReport.py index 83ecef10b..7678020cd 100644 --- a/gramps2/src/plugins/DescendReport.py +++ b/gramps2/src/plugins/DescendReport.py @@ -174,11 +174,9 @@ class DescendantReport(Report.Report): self.dump_dates(spouse) self.doc.end_paragraph() - childlist = family.get_child_handle_list()[:] - childlist.sort(self.by_birthdate) - - for child_handle in childlist: - child = self.database.get_person_from_handle(child_handle) + childlist = family.get_child_ref_list()[:] + for child_ref in childlist: + child = self.database.get_person_from_handle(child_ref.ref) self.dump(level+1,child) #------------------------------------------------------------------------