Added missing part_detail reference

This commit is contained in:
eeintech 2021-04-08 21:46:11 -04:00
parent b5a5f5b409
commit 97e1bc0a67
2 changed files with 1 additions and 1 deletions

View File

@ -131,6 +131,7 @@ addHeaderAction('stock-to-build', '{% trans "Required for Build Orders" %}', 'fa
loadStockTable($('#table-recently-updated-stock'), {
params: {
part_detail: true,
ordering: "-updated",
max_results: {% settings_value "STOCK_RECENT_COUNT" %},
},

View File

@ -241,7 +241,6 @@ function loadStockTable(table, options) {
// List of user-params which override the default filters
// options.params['part_detail'] = true;
options.params['location_detail'] = true;
var params = options.params || {};