mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Use original column index when accessing data table columns (fixes #1684)
This commit is contained in:
@@ -65,7 +65,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");
|
||||
|
||||
shoppingListTable.column(4).search(value).draw();
|
||||
shoppingListTable.column(shoppingListTable.colReorder.transpose(4)).search(value).draw();
|
||||
});
|
||||
|
||||
$("#selected-shopping-list").on("change", function()
|
||||
|
Reference in New Issue
Block a user