mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 15:05:39 +00:00
ADD: Sort classes alphabetically by default
Just a simple enhancement that makes longer lists of classes much easier to use.
This commit is contained in:
parent
9abd92bd7f
commit
e9a7cdc691
@ -94,6 +94,8 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
|
||||
$result[$class] = $title;
|
||||
}
|
||||
|
||||
asort($result);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user