diff --git a/module/kanban/control.php b/module/kanban/control.php index 6e842ebfde..04bf4f7484 100644 --- a/module/kanban/control.php +++ b/module/kanban/control.php @@ -1411,7 +1411,7 @@ class kanban extends control $this->view->products = array('all' => $this->lang->kanban->allProducts) + $this->feedback->getGrantProducts(); $this->view->selectedProductID = $selectedProductID; $this->view->lanePairs = $this->kanban->getLanePairsByGroup($groupID); - $this->view->tickets2Imported = $this->ticket->getTicketByProduct($selectedProductID, '', 'id_desc', $pager); + $this->view->tickets2Imported = $this->ticket->getTicketByProduct($selectedProductID, 'noclosed|nodone', 'id_desc', $pager); $this->view->pager = $pager; $this->view->kanbanID = $kanbanID; $this->view->regionID = $regionID; diff --git a/module/kanban/view/importticket.html.php b/module/kanban/view/importticket.html.php index be9bbb8870..8e0b45cc91 100644 --- a/module/kanban/view/importticket.html.php +++ b/module/kanban/view/importticket.html.php @@ -40,6 +40,7 @@ idAB;?> ticket->title;?> + ticket->product;?> ticket->priAB;?> ticket->status;?> ticket->type;?> @@ -64,6 +65,7 @@ title;?> + product);?> lang ->ticket->priList, $ticket->pri, $ticket->pri); ?> lang->ticket->statusList, $ticket->status, $ticket->status);?> lang->ticket->typeList, $ticket->type, $ticket->type);?>