mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Use original column index when accessing data table columns (fixes #1684)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user