* Adjust for build cardIdList in ajaxmovecard method.

This commit is contained in:
wangyidong
2023-11-15 17:32:01 +08:00
parent 389fcd086f
commit 0c79db1c98
+1 -1
View File
@@ -1781,7 +1781,7 @@ class kanban extends control
$fromCards = str_replace(",$cardID,", ',', $fromCell->cards);
$fromCards = $fromCards == ',' ? '' : $fromCards;
$toCards = ",$cardID," . ltrim($toCell->cards, ',');
$toCards = ',' . implode(',', array_unique(array_filter(explode(',', $toCell->cards)))) . ",$cardID,";
$this->dao->update(TABLE_KANBANCELL)->set('cards')->eq($fromCards)
->where('kanban')->eq($executionID)