From 291c29ad042575f56bf9714f70317d7700dd7864 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 14 Dec 2016 10:38:57 +0100 Subject: [PATCH] 9563: Sorting in family tab of narrated web report --- 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 734399c79..855edea19 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -3533,9 +3533,11 @@ class FamilyPages(BasePage): handle_list, key=self.sort_on_name_and_grampsid): person = self.r_db.get_person_from_handle(person_handle) if person: - family_list = pers_fam_dict[person_handle] + family_list = person.get_family_handle_list() first_family = True - for family in family_list: + for family_handle in family_list: + get_family = self.r_db.get_family_from_handle + family = get_family(family_handle) trow = Html("tr") tbody += trow