diff --git a/InvenTree/templates/js/part.html b/InvenTree/templates/js/part.html index 1a40c7ad84..c9901cdb68 100644 --- a/InvenTree/templates/js/part.html +++ b/InvenTree/templates/js/part.html @@ -95,6 +95,8 @@ function loadPartTable(table, url, options={}) { field: 'pk', title: 'ID', visible: false, + switchable: false, + searchable: false, } ]; @@ -103,9 +105,16 @@ function loadPartTable(table, url, options={}) { checkbox: true, title: '{% trans 'Select' %}', searchable: false, + switchable: false, }); } + columns.push({ + field: 'IPN', + title: 'IPN', + sortable: true, + }), + columns.push({ field: 'name', title: '{% trans 'Part' %}', @@ -231,6 +240,7 @@ function loadPartTable(table, url, options={}) { original: params, formatNoMatches: function() { return "{% trans "No parts found" %}"; }, columns: columns, + showColumns: true, }); if (options.buttons) {