From 5a953ce6b8ac48931aefe8093f10a532939de8f1 Mon Sep 17 00:00:00 2001 From: Kees Bakker Date: Tue, 8 Apr 2008 17:11:48 +0000 Subject: [PATCH] Undo sorting of children by birthdate. Let's first do a feature request and see what comes out of that. * src/plugins/NarrativeWeb.py svn: r10524 --- src/plugins/NarrativeWeb.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index bd335d6a9..df765fa68 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2095,9 +2095,7 @@ class IndividualPage(BasePage): of.write('\t\t\t\t\n') of.write('\t\t\t\t\t
    \n') childlist = [child_ref.ref for child_ref in child_ref_list] - # TODO. Optionally sort children by birthdate - sort = Sort.Sort(self.report.database) - childlist.sort(sort.by_birthdate) + # TODO. Optionally sort on birthdate for child_handle in childlist: sibling.add(child_handle) # remember that we've already "seen" this child if child_handle != self.person.handle: @@ -2172,10 +2170,8 @@ class IndividualPage(BasePage): of.write('\t\t\t\t%s\n' % _("Children")) of.write('\t\t\t\t\n') of.write('\t\t\t\t\t
      \n') - # TODO. Optionally sort on birthdate childlist = [child_ref.ref for child_ref in childlist] - sort = Sort.Sort(self.report.database) - childlist.sort(sort.by_birthdate) + # TODO. Optionally sort on birthdate for child_handle in childlist: self.display_child_link(of, child_handle) of.write('\t\t\t\t\t
    \n')