Fix AgeOnDate and some reports using SimpleAccess for missing surname (#708)
Fixes #9958 Fixes #9800
This commit is contained in:
parent
5ef7739c60
commit
b1fc676a55
@ -787,7 +787,8 @@ class SimpleAccess:
|
|||||||
|
|
||||||
with self.dbase.get_person_cursor() as cursor:
|
with self.dbase.get_person_cursor() as cursor:
|
||||||
# data[3] is primary_name; data[3][5][0][0] is surname
|
# data[3] is primary_name; data[3][5][0][0] is surname
|
||||||
slist = sorted((data[3][5][0][0], key) for key, data in cursor)
|
slist = sorted((data[3][5][0][0] if data[3][5] else '', key)
|
||||||
|
for key, data in cursor)
|
||||||
|
|
||||||
for info in slist:
|
for info in slist:
|
||||||
obj = self.dbase.get_person_from_handle(info[1])
|
obj = self.dbase.get_person_from_handle(info[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user