diff --git a/.env.local b/.env.local index 4ff1bc4..63983c1 100644 --- a/.env.local +++ b/.env.local @@ -7,7 +7,7 @@ ENV_NAME=DEV # Database secrets DB_HOST=31.7.78.133 DB_PORT=14352 -DB_NAME=Development +DB_NAME=Production DB_USERNAME=postgres DB_PASSWORD=pfLIVXupbDetvFMt2gUvxLXUL9b4HIOHaPcKXsBEZ1i8zl0iLUjmhUfXlGfJKcTV diff --git a/apps/product/services/services.py b/apps/product/services/services.py index b0cb9fb..97216fa 100644 --- a/apps/product/services/services.py +++ b/apps/product/services/services.py @@ -110,7 +110,7 @@ def quota_pricing_items_by_type(quota: Quota, sharing: list) -> typing.Any: items = ( QuotaPriceCalculationItems.objects.filter(quota=quota).select_related( "pricing_type" - ).values( + ).order_by("id").values( "pricing_type_id", "pricing_type__en_name", "pricing_type__name",