From d1c12ea0e59396e75caa52091893bb1243250ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Wed, 5 Sep 2012 22:42:44 +0200 Subject: [PATCH] Sorting applications in the widget by number --- openslides/application/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/application/views.py b/openslides/application/views.py index c09b6a4a9..f702eb53b 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -921,5 +921,5 @@ def get_widgets(request): Widget( name='applications', template='application/widget.html', - context={'applications': Application.objects.all()}, + context={'applications': Application.objects.all().order_by('number')}, permission_required='application.can_manage_application')]