From 9db78c6357cca93547c19d84ab44f7a8d006a910 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 18 2017 13:30:15 +0000 Subject: Fix keeping the current filters when updating the status of the tag used Fixes https://pagure.io/pagure/issue/1772 --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index 342bcc9..6178d88 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -120,7 +120,8 @@ repo=repo.name, username=username, search_pattern=search_pattern, - namespace=repo.namespace) }}" + namespace=repo.namespace, + status=status or 'all') }}" title="Filter issues by tag"> {% endif %} {% else %} @@ -131,7 +132,9 @@ namespace=repo.namespace, tags=tag.tag, search_pattern=search_pattern, - author=author, assignee=assignee, status=status) }}" + author=author, + assignee=assignee, + status=status or 'all') }}" title="Filter issues by tag"> {% endif %} @@ -142,8 +145,8 @@
- - {% for tag in tag_list %} + + {% for tag in tags %} {% endfor %}