Use original column index when accessing data table columns (fixes #1684)

This commit is contained in:
Bernd Bestel
2021-11-12 18:26:19 +01:00
parent 4338ccc132
commit 2a2335c8f4
11 changed files with 30 additions and 29 deletions

View File

@@ -31,7 +31,7 @@ $("#status-filter").on("change", function()
// Transfer CSS classes of selected element to dropdown element (for background)
$(this).attr("class", $("#" + $(this).attr("id") + " option[value='" + value + "']").attr("class") + " form-control");
tasksTable.column(5).search(value).draw();
tasksTable.column(tasksTable.colReorder.transpose(5)).search(value).draw();
});
$("#clear-filter-button").on("click", function()