From 03128a07288bc49586fa4f02892eea8120d18e4b Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Tue, 13 Dec 2016 14:20:55 +0100 Subject: [PATCH] 9563: Sorting of relationships in family tab of narrated web report --- gramps/plugins/webreport/narrativeweb.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index d1757bc9b..734399c79 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -639,7 +639,7 @@ class BasePage: @param: place_lat_long -- for use in Family Map Pages. This will be None if called from Family pages, which do not create a Family Map """ - family_list = sorted(individual.get_family_handle_list()) + family_list = individual.get_family_handle_list() if not family_list: return None @@ -3533,9 +3533,7 @@ 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 = sorted(pers_fam_dict[person_handle], - key=lambda x: x.get_gramps_id() - ) + family_list = pers_fam_dict[person_handle] first_family = True for family in family_list: trow = Html("tr")