remotes/origin/PR-39
Andrey Baydashkin 9 years ago
parent d550a3a3a7
commit 69b7c34a21
  1. 1
      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

Loading…
Cancel
Save