Change: sort custom fields alphabetically by default (#12358)

This commit is contained in:
shamoon
2026-03-15 22:52:02 -07:00
committed by GitHub
parent 6b8ff9763d
commit 2bb4af2be6
+1 -1
View File
@@ -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(