Duplicate category color when duplicating projects

This commit is contained in:
Frédéric Guillot
2018-10-02 10:16:30 -07:00
parent 497f36983c
commit b6e0b9cc09
2 changed files with 4 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ class CategoryModel extends Base
{
$categories = $this->db
->table(self::TABLE)
->columns('name', 'description')
->columns('name', 'description', 'color_id')
->eq('project_id', $src_project_id)
->asc('name')
->findAll();