Add option to clone filters on project duplication

* Fixed missing metadata option from project "create from"
* Added option to clone project custom filters
* Added append option to custom field tests
* Added a test that uses the "append" option
* Fixed disabled swimlane duplication error with Postgresql
This commit is contained in:
Rafael de Camargo
2019-07-17 18:32:16 -03:00
committed by Frédéric Guillot
parent d3be738d4f
commit c250f3b1b8
7 changed files with 95 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ class SwimlaneModel extends Base
'name' => $swimlane['name'],
'description' => $swimlane['description'],
'position' => $swimlane['position'],
'is_active' => $swimlane['is_active'],
'is_active' => $swimlane['is_active'] ? self::ACTIVE : self::INACTIVE, // Avoid SQL error with Postgres
'project_id' => $projectDstId,
);