From 5a5e0c9eb7f09e1dad2dbadba01c4f9579bf58ba Mon Sep 17 00:00:00 2001 From: Andreas Valder <andreasv@fsmpi.rwth-aachen.de> Date: Wed, 7 Sep 2016 20:26:35 +0200 Subject: [PATCH] sort courses by title --- templates/courses.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/courses.html b/templates/courses.html index a6243d7..231b0ac 100644 --- a/templates/courses.html +++ b/templates/courses.html @@ -36,7 +36,7 @@ {% endif %} </div> <ul class="{% if not ismod() %}courses-list {% endif %}list-group"> - {% for i in g.list %} + {% for i in g.list|dictsort('title') %} {% if groupedby == 'semester' %} {{ course_list_item(i) }} {% else %} -- GitLab