GenericDB: fixed error in order_by_tag_key
This commit is contained in:
parent
c2e361e7e4
commit
ea591bfb17
@ -1937,8 +1937,8 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
|||||||
def _order_by_media_key(self, media):
|
def _order_by_media_key(self, media):
|
||||||
return glocale.sort_key(media.desc)
|
return glocale.sort_key(media.desc)
|
||||||
|
|
||||||
def _order_by_tag_key(self, tag):
|
def _order_by_tag_key(self, key):
|
||||||
return glocale.sort_key(tag.get_name())
|
return glocale.sort_key(key)
|
||||||
|
|
||||||
def backup(self):
|
def backup(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user