ajax cleanup

This commit is contained in:
Hugo Sampaio 2025-02-04 10:16:52 -03:00
parent c7b9c95d0d
commit 17cd1fd0c1
1 changed files with 1 additions and 8 deletions

View File

@ -554,15 +554,8 @@ if (isset($_POST['update_kanban_status_position'])) {
if (isset($_POST['update_kanban_ticket'])) {
// Update ticket kanban order and status
enforceUserPermission('module_support', 2);
// have to do new logic, to update only one dragged ticket
$positions = $_POST['positions']; //old and new position
// old logic that updated all tickets on the column
// all tickets on the column
$positions = $_POST['positions'];
foreach ($positions as $position) {