9563: Sorting of relationships in family tab of narrated web report

This commit is contained in:
SNoiraud 2016-12-13 14:20:55 +01:00
parent 23213e590b
commit 03128a0728

View File

@ -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")