From 09efbfb4f1c262b72f5db585a2f4818692e7ec1b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 30 Sep 2019 15:02:05 -0400 Subject: [PATCH] Sort groups --- web/includes/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Group.php b/web/includes/Group.php index e7442b3ed..b329946a3 100644 --- a/web/includes/Group.php +++ b/web/includes/Group.php @@ -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; }