From 3aadf94a9cecce0b86653e9dda0a08c4e906ece9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 8 Jun 2021 16:15:40 +1000 Subject: [PATCH] Stock Test: Fix display of stock test table - Incorrect parent node was set --- InvenTree/templates/js/stock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/stock.js b/InvenTree/templates/js/stock.js index 151265a3ae..0ce10b28a7 100644 --- a/InvenTree/templates/js/stock.js +++ b/InvenTree/templates/js/stock.js @@ -159,7 +159,7 @@ function loadStockTestResultsTable(table, options) { // Set "parent" for each existing row tableData.forEach(function(item, idx) { - tableData[idx].parent = options.stock_item; + tableData[idx].parent = parent_node; }); // Once the test template data are loaded, query for test results