fix product stat signal

This commit is contained in:
2025-08-03 10:36:00 +03:30
parent ac729db167
commit d9a9cfde35
12 changed files with 285 additions and 33 deletions

View File

@@ -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: