From ba55313ca0272586e9eaf9d9bc4d0f8fbf5eb796 Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 4 Oct 2018 23:27:29 +0200 Subject: [PATCH] Make tags clickable in other places like /user and /search --- tildes/tildes/templates/macros/topics.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/tildes/templates/macros/topics.jinja2 b/tildes/tildes/templates/macros/topics.jinja2 index b4b5ed3..1e7f580 100644 --- a/tildes/tildes/templates/macros/topics.jinja2 +++ b/tildes/tildes/templates/macros/topics.jinja2 @@ -48,7 +48,7 @@ {% if request.matched_route.name in ('home', 'group') %} {{ topic_tag(tag, request.current_listing_normal_url({'tag': tag.replace(' ', '_')})) }} {% else %} - {{ topic_tag(tag) }} + {{ topic_tag(tag, request.route_url('home', _query=[('tag', tag.replace(' ', '_'))])) }} {% endif %} {% endfor %}