fix - order transactions by create_date
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user