fix - order transactions by create_date
This commit is contained in:
@@ -147,8 +147,7 @@ class InventoryQuotaSaleTransactionViewSet(BaseViewSet, SoftDeleteMixin, Dynamic
|
||||
list of transactions
|
||||
filter by: search, all, my_transactions
|
||||
"""
|
||||
print("ssss")
|
||||
queryset = self.filter_query(self.get_queryset(visibility_by_org_scope=True))
|
||||
queryset = self.filter_query(self.get_queryset(visibility_by_org_scope=True).order_by('-create_date'))
|
||||
|
||||
# paginate & response
|
||||
page = self.paginate_queryset(queryset)
|
||||
|
||||
Reference in New Issue
Block a user