9405: Narrated Web report - Individual sort order not correct on the Surnames tab

This commit is contained in:
SNoiraud 2016-04-24 22:33:22 +02:00
parent 74c32fcc23
commit 13b4f939a7

View File

@ -2973,7 +2973,8 @@ class SurnamePage(BasePage):
tbody = Html("tbody") tbody = Html("tbody")
table += tbody table += tbody
for person_handle in ppl_handle_list: for person_handle in sorted(ppl_handle_list,
key=lambda x: sort_on_name_and_grampsid(x, self.dbase_)):
person = self.dbase_.get_person_from_handle(person_handle) person = self.dbase_.get_person_from_handle(person_handle)
if person.get_change_time() > ldatec: ldatec = person.get_change_time() if person.get_change_time() > ldatec: ldatec = person.get_change_time()