Fix: Sort consumption templates by order by default (#4956)

This commit is contained in:
shamoon authored and GitHub committed 2023-12-12 16:27:26 +00:00
1 parent 9454978264
commit ff31558252
1 file changed
+1 -1
+1 -1
View File
@@ -1347,7 +1347,7 @@ class ConsumptionTemplateViewSet(ModelViewSet):
model = ConsumptionTemplate
queryset = ConsumptionTemplate.objects.all().order_by("name")
queryset = ConsumptionTemplate.objects.all().order_by("order")
class CustomFieldViewSet(ModelViewSet):