From c58ed5a07e415177118671518734036845d147c4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 9 Aug 2021 01:43:50 +0200 Subject: [PATCH] Fixes #1915 --- InvenTree/templates/js/translated/part.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index 6f51f492c4..3218765c46 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -1106,6 +1106,7 @@ function loadPriceBreakTable(table, options) { formatNoMatches: function() { return `{% trans "No ${human_name} information found" %}`; }, + queryParams: {part: options.part}, url: options.url, onLoadSuccess: function(tableData) { if (linkedGraph) { @@ -1201,6 +1202,7 @@ function initPriceBreakSet(table, options) { human_name: pb_human_name, url: pb_url, linkedGraph: linkedGraph, + part: part_id, } );