Sorting assignments by name in the widget
This commit is contained in:
parent
34a690c713
commit
d84a8d2bdd
@ -660,5 +660,5 @@ def get_widgets(request):
|
||||
Widget(
|
||||
name=_('Assignments'),
|
||||
template='assignment/widget.html',
|
||||
context={'assignments': Assignment.objects.all()},
|
||||
context={'assignments': Assignment.objects.all().order_by('name')},
|
||||
permission_required='assignment.can_manage_assignment')]
|
||||
|
Loading…
Reference in New Issue
Block a user