diff --git a/InvenTree/InvenTree/static/script/bootstrap/bootstrap-table.js b/InvenTree/InvenTree/static/script/bootstrap/bootstrap-table.js index 4567f29ac9..5fdfd2ee58 100644 --- a/InvenTree/InvenTree/static/script/bootstrap/bootstrap-table.js +++ b/InvenTree/InvenTree/static/script/bootstrap/bootstrap-table.js @@ -3272,10 +3272,7 @@ }, { key: 'getOptions', value: function getOptions() { - // deep copy and remove data - var options = JSON.parse(JSON.stringify(this.options)); - delete options.data; - return options; + return this.options; } }, { key: 'getSelections', diff --git a/InvenTree/InvenTree/static/script/inventree/stock.js b/InvenTree/InvenTree/static/script/inventree/stock.js index f79a4bf217..0f5936a5ed 100644 --- a/InvenTree/InvenTree/static/script/inventree/stock.js +++ b/InvenTree/InvenTree/static/script/inventree/stock.js @@ -359,9 +359,6 @@ function loadStockTable(table, options) { linkButtonsToSelection(table, options.buttons); } - // Display the filters - updateStockFilterList(filterListElement); - function stockAdjustment(action) { var items = $("#stock-table").bootstrapTable("getSelections");