changeset 2821:41ed0f7d1cb0

sort the list of tags in tickets.html
author RogerHaase <haaserd@gmail.com>
date Sun, 12 Oct 2014 14:43:38 -0700
parents 1988b4e5092b
children f26b30a78d00
files MoinMoin/templates/tickets.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/tickets.html	Sun Oct 12 10:05:58 2014 -0700
+++ b/MoinMoin/templates/tickets.html	Sun Oct 12 14:43:38 2014 -0700
@@ -62,7 +62,7 @@
 
     <div class="moin-ticket-tags">
         <span>{{_("Tags:")}}</span>
-        {% for tag in tags %}
+        {% for tag in tags|sort %}
             {# If user clicks on the tag then it gets selected if it is not already selected #}
             {# If that tag is already selected then it gets deselected #}
             {% set selected_tags_value = list(selected_tags.difference([tag]) if tag in selected_tags else selected_tags.union([tag])) %}