diff --git a/module/doc/control.php b/module/doc/control.php index 1a9218b5b0..efda6be843 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -155,7 +155,8 @@ class doc extends control if($type == 'product') $objects = $this->product->getPairs(); if($type == 'project') { - $objects = $this->project->getPairsByProgram('', 'all', false, 'order_asc', 'kanban'); + $excludedModel = $this->config->vision == 'lite' ? '' : 'kanban'; + $objects = $this->project->getPairsByProgram('', 'all', false, 'order_asc', $excludedModel); if($this->app->tab == 'doc') { $this->view->executionPairs = array(0 => '') + $this->execution->getPairs($objectID, 'all', 'multiple,leaf,noprefix'); @@ -409,7 +410,8 @@ class doc extends control $objects = array(); if($objectType == 'project') { - $objects = $this->project->getPairsByProgram('', 'all', false, 'order_asc', 'kanban'); + $excludedModel = $this->config->vision == 'lite' ? '' : 'kanban'; + $objects = $this->project->getPairsByProgram('', 'all', false, 'order_asc', $excludedModel); if($lib->type == 'execution') { $execution = $this->loadModel('execution')->getById($lib->execution); diff --git a/module/doc/view/createtexttype.html.php b/module/doc/view/createtexttype.html.php index 079f223b97..0fb9a4ebc5 100644 --- a/module/doc/view/createtexttype.html.php +++ b/module/doc/view/createtexttype.html.php @@ -69,7 +69,7 @@