diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-06 00:00:09 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-06 00:00:09 -0500 |
commit | 9bd7985ba41b385c63213970b862ffc06f1096b0 (patch) | |
tree | a181044fca56fd501488c2361971dd883d6d8a89 /app/Model/Group.php | |
parent | db5da71f154d34d012d7259d4d627ac7cf0c38fa (diff) |
Add more unit tests
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(); } /** |