diff --git a/api/views.py b/api/views.py index de937c8..3819bd5 100755 --- a/api/views.py +++ b/api/views.py @@ -178,6 +178,7 @@ class LocationViewSet(ModelViewSet): queryset = Location.objects.root_nodes()[0].get_descendants() except: queryset = Location.objects.all() + queryset = queryset.order_by('name') serializer_class = LocationSerializer filter_class = LocationFilterSet