Sort groups

This commit is contained in:
Isaac Connor 2019-09-30 15:02:05 -04:00
parent e37870d983
commit 09efbfb4f1
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class Group extends ZM_Object {
public static function get_dropdown_options() {
$Groups = array();
foreach ( Group::find( ) as $Group ) {
foreach ( Group::find(array(), array('order'=>'lower(Name)')) as $Group ) {
$Groups[$Group->Id()] = $Group;
}