Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6, 4.0-ALPHA
-
None
-
all
Description
It's always bugged me that the fields list for admin/schema browser haven't been alphabetical. We have users who have 100s of fields and it's hard to orient in an unordered list.
I'll attach a patch momentarily that starts moves toward this. The thing I need someone to render judgement on is whether implementing the Comparable interface on SchemaField and FieldType are in any way dangerous. Note that they only compare on name, secondary and tertiary sources are unnecessary I think.
The other interesting bit is that the list of fields is actually (apparently) fetched in two stages. The first stage gets the ones in the schema and the second one gets dynamic fields that have been realized. So the "fields" section actually has two separate ordered sections. Which is kind of ugly, but given the new admin interface coming in 4.x I don't feel the urge to fix this.