fix surname list
svn: r2975
This commit is contained in:
parent
2389e64bae
commit
ae4d1454b2
@ -2493,8 +2493,13 @@ class GrampsDB:
|
|||||||
#EARNEY, may eventually be able to use secondary indexes for this
|
#EARNEY, may eventually be able to use secondary indexes for this
|
||||||
#that way we will not have to track these with code.
|
#that way we will not have to track these with code.
|
||||||
def get_surnames(self):
|
def get_surnames(self):
|
||||||
return []
|
names = self.surnames.keys()
|
||||||
# return self.surnames.keys()
|
a = {}
|
||||||
|
for name in names:
|
||||||
|
a[name] = 1
|
||||||
|
vals = a.keys()
|
||||||
|
vals.sort()
|
||||||
|
return vals
|
||||||
|
|
||||||
#this function may eventually become obsolete.. if we use
|
#this function may eventually become obsolete.. if we use
|
||||||
#secondary indexes.
|
#secondary indexes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user