* src/GenericFilter.py: add a filter to return the path to the
common ancestor(s) of two people. * src/RelLib.py: don't barf on ZODB sorting * svn: r2285
This commit is contained in:
1 parent
1e54886508
commit
3e532ca523
2 files changed
+141
-30
No files matched your search
+4
-2
@@ -2203,7 +2203,8 @@ class GrampsDB(Persistent):
|
||||
|
||||
def sortPersonKeys(self):
|
||||
keys = self.personTable.keys()
|
||||
keys.sort(self.sortbyname)
|
||||
if type(keys) == type([]):
|
||||
keys.sort(self.sortbyname)
|
||||
return keys
|
||||
|
||||
def getPersonDisplay(self,key):
|
||||
@@ -2730,7 +2731,8 @@ class GrampsDB(Persistent):
|
||||
|
||||
def sortPlaceKeys(self):
|
||||
keys = self.placeTable.keys()
|
||||
keys.sort(self.sortbyplace)
|
||||
if type(keys) == type([]):
|
||||
keys.sort(self.sortbyplace)
|
||||
return keys
|
||||
|
||||
def getPlaceKeys(self):
|
||||
|
||||
Reference in new issue
Block a user