summaryrefslogtreecommitdiff
path: root/app/Model/Category.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Category.php')
-rw-r--r--app/Model/Category.php4
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();