From 4ce656c836152b3ab84e518bab9166c8c5edf77c Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski Date: Mon, 2 Oct 2017 21:41:36 +0200 Subject: [PATCH] Sort children list in an item page --- storage/templates/item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/templates/item.html b/storage/templates/item.html index 345ec8e..af2aa51 100644 --- a/storage/templates/item.html +++ b/storage/templates/item.html @@ -55,7 +55,7 @@

Children

- {% for child in children %} + {% for child in children|dictsort:"name" %} {% empty %}
{{ child.name }}
No children