From abbd0bb16a2dbaf5199442577284a0b844660325 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 28 Apr 2020 09:05:06 +1000 Subject: [PATCH] Bug fix in supplier-part table rendering --- InvenTree/InvenTree/static/script/inventree/company.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/static/script/inventree/company.js b/InvenTree/InvenTree/static/script/inventree/company.js index 86974630ef..d5c37ce363 100644 --- a/InvenTree/InvenTree/static/script/inventree/company.js +++ b/InvenTree/InvenTree/static/script/inventree/company.js @@ -148,7 +148,7 @@ function loadSupplierPartTable(table, url, options) { field: 'SKU', title: "Supplier Part", formatter: function(value, row, index, field) { - return renderLink(value, row.url); + return renderLink(value, `/supplier-part/${row.pk}/`); } }, {