diff --git a/InvenTree/templates/InvenTree/index.html b/InvenTree/templates/InvenTree/index.html index b7807840c5..f7154e5fbb 100644 --- a/InvenTree/templates/InvenTree/index.html +++ b/InvenTree/templates/InvenTree/index.html @@ -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" %}, }, diff --git a/InvenTree/templates/js/stock.js b/InvenTree/templates/js/stock.js index cba3e56b35..b163bc89f3 100644 --- a/InvenTree/templates/js/stock.js +++ b/InvenTree/templates/js/stock.js @@ -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 || {};