fix product stat signal
This commit is contained in:
@@ -134,7 +134,7 @@ class ProductStatsViewSet(viewsets.ModelViewSet):
|
||||
|
||||
try:
|
||||
organization = get_organization_by_user(request.user)
|
||||
product_stats = self.queryset.filter(organization=organization)
|
||||
product_stats = self.queryset.filter(organization=organization).order_by('-modify_date')
|
||||
|
||||
page = self.paginate_queryset(product_stats) # noqa
|
||||
if page is not None:
|
||||
|
||||
Reference in New Issue
Block a user