From c250f3b1b8b42652cd2f3b3f19ce36624e384ff0 Mon Sep 17 00:00:00 2001 From: Rafael de Camargo Date: Wed, 17 Jul 2019 18:32:16 -0300 Subject: 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 --- app/Template/project_creation/create.php | 2 ++ app/Template/project_view/duplicate.php | 1 + 2 files changed, 3 insertions(+) (limited to 'app/Template') diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php index 01952f14..12eb3215 100644 --- a/app/Template/project_creation/create.php +++ b/app/Template/project_creation/create.php @@ -30,6 +30,8 @@ form->checkbox('categoryModel', t('Categories'), 1, true) ?> form->checkbox('tagDuplicationModel', t('Tags'), 1, true) ?> form->checkbox('actionModel', t('Actions'), 1, true) ?> + form->checkbox('customFilterModel', t('Custom filters'), 1, true) ?> + form->checkbox('projectMetadataModel', t('Metadata'), 1, false) ?> form->checkbox('projectTaskDuplicationModel', t('Tasks'), 1, false) ?> diff --git a/app/Template/project_view/duplicate.php b/app/Template/project_view/duplicate.php index e2f3677c..f0268f6b 100644 --- a/app/Template/project_view/duplicate.php +++ b/app/Template/project_view/duplicate.php @@ -18,6 +18,7 @@ form->checkbox('categoryModel', t('Categories'), 1, true) ?> form->checkbox('tagDuplicationModel', t('Tags'), 1, true) ?> form->checkbox('actionModel', t('Actions'), 1, true) ?> + form->checkbox('customFilterModel', t('Custom filters'), 1, true) ?> form->checkbox('projectMetadataModel', t('Metadata'), 1, false) ?> form->checkbox('projectTaskDuplicationModel', t('Tasks'), 1, false) ?> -- cgit v1.2.3