1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05:10 +01:00

On tag filter, also use the cached tags

This commit is contained in:
2016-08-15 16:03:54 +02:00
parent 5fde397c4a
commit 7c24057d35

View File

@@ -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')