* Fix search word error of execution kanban card. bug #43466.

This commit is contained in:
wangyuting
2024-01-16 16:46:03 +08:00
parent d152c723de
commit d46e8fdf3e
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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;
-1
View File
@@ -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();