DB-API: get_family_handles(sort_handles) add given to sort order
This commit is contained in:
parent
ac1ccfa2b4
commit
f0e27af884
@ -369,7 +369,8 @@ class DBAPI(DbGeneric):
|
|||||||
JOIN person
|
JOIN person
|
||||||
ON (family.father_handle = person.handle OR
|
ON (family.father_handle = person.handle OR
|
||||||
family.mother_handle = person.handle)
|
family.mother_handle = person.handle)
|
||||||
ORDER BY person.primary_name__surname_list__0__surname;""")
|
ORDER BY person.primary_name__surname_list__0__surname,
|
||||||
|
person.primary_name__first_name;""")
|
||||||
else:
|
else:
|
||||||
self.dbapi.execute("SELECT handle FROM family;")
|
self.dbapi.execute("SELECT handle FROM family;")
|
||||||
rows = self.dbapi.fetchall()
|
rows = self.dbapi.fetchall()
|
||||||
|
Loading…
Reference in New Issue
Block a user