Skip to content
Snippets Groups Projects
Commit 51e7c8a3 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Order rooms in scheduler alphabetically

parent 9f89e85a
Branches
No related tags found
1 merge request!146Improve scheduler
......@@ -29,7 +29,7 @@ class ResourcesViewSet(EventSlugMixin, mixins.RetrieveModelMixin, mixins.ListMod
serializer_class = ResourceSerializer
def get_queryset(self):
return Room.objects.filter(event=self.event)
return Room.objects.filter(event=self.event).order_by('location', 'name')
class EventsView(LoginRequiredMixin, EventSlugMixin, ListView):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment