From 08aca6a5a8f8af8b060e6cd5bfa7f32abba6a4d7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 26 Apr 2019 23:08:13 +1000 Subject: [PATCH] Fix rendering for company part list --- InvenTree/company/templates/company/detail_part.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/company/templates/company/detail_part.html b/InvenTree/company/templates/company/detail_part.html index c3d9f0a8b3..1db55c12d5 100644 --- a/InvenTree/company/templates/company/detail_part.html +++ b/InvenTree/company/templates/company/detail_part.html @@ -50,10 +50,10 @@ }, { sortable: true, - field: 'part', + field: 'part_name', title: 'Part', formatter: function(value, row, index, field) { - return renderLink(value.name, value.url + 'suppliers/'); + return renderLink(value, '/part/' + row.part + '/suppliers/'); } }, {