mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-04-30 20:09:27 +00:00
Change: sort custom fields alphabetically by default
This commit is contained in:
@@ -3923,7 +3923,7 @@ class CustomFieldViewSet(PermissionsAwareDocumentCountMixin, ModelViewSet):
|
||||
document_count_through = CustomFieldInstance
|
||||
document_count_source_field = "field_id"
|
||||
|
||||
queryset = CustomField.objects.all().order_by("-created")
|
||||
queryset = CustomField.objects.all().order_by("name")
|
||||
|
||||
|
||||
@extend_schema_view(
|
||||
|
||||
Reference in New Issue
Block a user