Skip to content

Commit

Permalink
Fix UnorderedObjectListWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Jul 2, 2024
1 parent 5b00ec3 commit cdca83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ def get_queryset(self):
)
queryset = queryset.filter(geometry__boundary__contains=point)

return queryset
return queryset.order_by("id")


register_view(AdministrativeDivisionViewSet, "administrative_division")
Expand Down

0 comments on commit cdca83d

Please sign in to comment.