summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-06 00:00:09 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-06 00:00:09 -0500
commit9bd7985ba41b385c63213970b862ffc06f1096b0 (patch)
treea181044fca56fd501488c2361971dd883d6d8a89 /app/Model
parentdb5da71f154d34d012d7259d4d627ac7cf0c38fa (diff)
Add more unit tests
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Group.php2
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();
}
/**