From 00c21d521e7bf675cd2a4c87757791b1f8eeeeb7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 14 Apr 2019 12:25:21 +1000 Subject: [PATCH] Always display category - Display full category path --- InvenTree/part/templates/part/category.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 23a16dd05f..111efe7fcf 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -149,21 +149,19 @@ field: 'description', title: 'Description', }, - {% if category == None %} { sortable: true, field: 'category', title: 'Category', formatter: function(value, row, index, field) { if (row.category) { - return renderLink(row.category.name, row.category.url); + return renderLink(row.category.pathstring, row.category.url); } else { return ''; } } }, - {% endif %} { field: 'total_stock', title: 'Stock',