mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: Sort consumption templates by order by default (#4956)
This commit is contained in:
parent
9454978264
commit
ff31558252
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user