Sorting applications in the widget by number

This commit is contained in:
Norman Jäckel 2012-09-05 22:42:44 +02:00
parent 2ecd552d2b
commit d1c12ea0e5

View File

@ -921,5 +921,5 @@ def get_widgets(request):
Widget( Widget(
name='applications', name='applications',
template='application/widget.html', template='application/widget.html',
context={'applications': Application.objects.all()}, context={'applications': Application.objects.all().order_by('number')},
permission_required='application.can_manage_application')] permission_required='application.can_manage_application')]