fix - order transactions by create_date

This commit is contained in:
2025-11-11 10:08:08 +03:30
parent f8bbda203f
commit 5da20dc16c

View File

@@ -147,8 +147,7 @@ class InventoryQuotaSaleTransactionViewSet(BaseViewSet, SoftDeleteMixin, Dynamic
list of transactions list of transactions
filter by: search, all, my_transactions filter by: search, all, my_transactions
""" """
print("ssss") queryset = self.filter_query(self.get_queryset(visibility_by_org_scope=True).order_by('-create_date'))
queryset = self.filter_query(self.get_queryset(visibility_by_org_scope=True))
# paginate & response # paginate & response
page = self.paginate_queryset(queryset) page = self.paginate_queryset(queryset)