diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-25 11:55:12 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-25 11:55:12 -0500 |
commit | e506648cbcda0b6021cf0a3b5e2f6381d8f1d0ea (patch) | |
tree | cbb12b785f0ef33e725ef24a277fef7a682af5ff /app/Model/Category.php | |
parent | 655d75a3cf154d14b10ffbf2baa42a549cf214f7 (diff) |
Do not show inactive projects info on the dashboard and update picodb (merge #546)
Diffstat (limited to 'app/Model/Category.php')
-rw-r--r-- | app/Model/Category.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Category.php b/app/Model/Category.php index cd60e7f7..1c8ba96f 100644 --- a/app/Model/Category.php +++ b/app/Model/Category.php @@ -84,10 +84,10 @@ class Category extends Base */ public function getList($project_id, $prepend_none = true, $prepend_all = false) { - $listing = $this->db->table(self::TABLE) + $listing = $this->db->hashtable(self::TABLE) ->eq('project_id', $project_id) ->asc('name') - ->listing('id', 'name'); + ->getAll('id', 'name'); $prepend = array(); |