From e506648cbcda0b6021cf0a3b5e2f6381d8f1d0ea Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 25 Jan 2015 11:55:12 -0500 Subject: Do not show inactive projects info on the dashboard and update picodb (merge #546) --- app/Model/Category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Model/Category.php') 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(); -- cgit v1.2.3