From f7a09fc55813e00ae5a1c39f544619a60fad8c29 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 5 Dec 2015 10:52:07 +0100 Subject: [PATCH] 8950 : events list and family list are differents between two reports. --- gramps/plugins/webreport/narrativeweb.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index c6e8f1939..5516555d2 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -3204,7 +3204,8 @@ class FamilyPages(BasePage): trow += (tcell1, tcell2) if fam_evt_ref_list: - for evt_ref in fam_evt_ref_list: + fam_evt_srt_ref_list = sorted(fam_evt_ref_list) + for evt_ref in fam_evt_srt_ref_list: event = self.dbase_.get_event_from_handle(evt_ref.ref) if event: evt_type = event.get_type() @@ -3791,7 +3792,8 @@ class EventPages(BasePage): first_person = True # get person(s) for ColumnPerson - self.complete_people(tcell, first_person, handle_list, + sorted_list = sorted(handle_list) + self.complete_people(tcell, first_person, sorted_list, up =False) _EVENT_DISPLAYED.append(gid)