2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 20:20:58 +00:00

Further cleanup

This commit is contained in:
Oliver Walters
2020-09-19 21:18:29 +10:00
parent 1b6843e72d
commit 597ab37ba6
3 changed files with 21 additions and 9 deletions

View File

@ -5,7 +5,11 @@ function loadBuildTable(table, options) {
var params = options.params || {};
var filters = loadTableFilters("build");
var filters = {};
if (!options.disableFilters) {
loadTableFilters("build");
}
for (var key in params) {
filters[key] = params[key];