diff options
Diffstat (limited to 'app/Model/Group.php')
-rw-r--r-- | app/Model/Group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Group.php b/app/Model/Group.php index 36171ca4..a086fe9d 100644 --- a/app/Model/Group.php +++ b/app/Model/Group.php @@ -75,7 +75,7 @@ class Group extends Base */ public function search($input) { - return $this->db->table(self::TABLE)->ilike('name', '%'.$input.'%')->findAll(); + return $this->db->table(self::TABLE)->ilike('name', '%'.$input.'%')->asc('name')->findAll(); } /** |