From ea591bfb172762ca132176b5744d02c21e26579f Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 9 Aug 2015 14:29:25 -0400 Subject: [PATCH] GenericDB: fixed error in order_by_tag_key --- gramps/gen/db/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/db/generic.py b/gramps/gen/db/generic.py index a99506755..76b0a031b 100644 --- a/gramps/gen/db/generic.py +++ b/gramps/gen/db/generic.py @@ -1937,8 +1937,8 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def _order_by_media_key(self, media): return glocale.sort_key(media.desc) - def _order_by_tag_key(self, tag): - return glocale.sort_key(tag.get_name()) + def _order_by_tag_key(self, key): + return glocale.sort_key(key) def backup(self): """