import - organizations in rancher serializer / temporary tags model

This commit is contained in:
2025-12-27 13:59:32 +03:30
parent 9d8c04ffb7
commit 1ea840fbc7
4 changed files with 69 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ class LiveStockViewSet(viewsets.ModelViewSet, SoftDeleteMixin): # noqa
"""
list of live stocks
"""
queryset = self.filter_queryset(self.get_queryset().order_by('-modify_date'))
queryset = self.filter_queryset(self.get_queryset().order_by('-birthdate'))
# paginate queryset
page = self.paginate_queryset(queryset)