diff --git a/module/execution/js/taskkanban.ui.js b/module/execution/js/taskkanban.ui.js index 767936b77c..4ba415d864 100644 --- a/module/execution/js/taskkanban.ui.js +++ b/module/execution/js/taskkanban.ui.js @@ -502,7 +502,7 @@ window.searchCards = function(value, order) window.refreshKanban = function(url) { - if(typeof url == 'undefined') url = $.createLink('execution', 'ajaxUpdateKanban', "executionID=" + executionID + "&entertime=0&browseType=" + browseType + "&groupBy=" + groupBy + '&from=taskkanban&searchValue=&orderBy=' + orderBy); + if(typeof url == 'undefined') url = $.createLink('execution', 'ajaxUpdateKanban', "executionID=" + executionID + "&entertime=0&browseType=" + browseType + "&groupBy=" + groupBy + '&from=taskkanban&searchValue=' + searchValue + '&orderBy=' + orderBy); const $kanbanList = $('[data-zui-kanbanlist]').zui('kanbanList'); let options = $kanbanList.options; diff --git a/module/kanban/model.php b/module/kanban/model.php index d8ac014200..e175f5b196 100755 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -1463,7 +1463,6 @@ class kanbanModel extends model { list($laneData, $columnData, $cardsData) = $this->buildExecutionGroup($lane, $columns, $objectGroup, $searchValue, $menus); - if($searchValue != '' && empty($cardsData)) continue; $kanbanGroup[$lane->type]['id'] = $lane->id; $kanbanGroup[$lane->type]['key'] = 'group' . $lane->id; $kanbanGroup[$lane->type]['data'] = array();