From 7c24057d3562c4693692bdd790d9bffc8518144b Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 15 Aug 2016 16:03:54 +0200 Subject: [PATCH] On tag filter, also use the cached tags --- digimarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digimarks.py b/digimarks.py index f9c4671..5a1364e 100644 --- a/digimarks.py +++ b/digimarks.py @@ -468,7 +468,7 @@ def tags(userkey): def tag(userkey, tag): """ Overview of all bookmarks with a certain tag """ bookmarks = Bookmark.select().where(Bookmark.userkey == userkey, Bookmark.tags.contains(tag), Bookmark.status == Bookmark.VISIBLE).order_by(Bookmark.created_date.desc()) - tags = get_tags_for_user(userkey) + tags = get_cached_tags(userkey) pageheader = 'tag: ' + tag message = request.args.get('message')