From 36816a7562c42ca5a840babfff3db2d4b4741763 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 --- ChangeLog | 3 +++ src/plugins/DescendReport.py | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 097076e56..87bfa676a 100644 --- a/ChangeLog +++ b/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/src/plugins/DescendReport.py b/src/plugins/DescendReport.py index 83ecef10b..7678020cd 100644 --- a/src/plugins/DescendReport.py +++ b/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) #------------------------------------------------------------------------