2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Improved API filtering for PartCategory

This commit is contained in:
Oliver Walters
2021-04-20 20:15:06 +10:00
parent 38eea21f4f
commit c5fa0bb459
6 changed files with 37 additions and 59 deletions

View File

@ -546,6 +546,7 @@ function loadPartCategoryTable(table, options) {
title: '{% trans "Select" %}',
searchable: false,
switchable: false,
visible: false,
},
{
field: 'name',
@ -565,6 +566,12 @@ function loadPartCategoryTable(table, options) {
switchable: true,
sortable: false,
},
{
field: 'pathstring',
title: '{% trans "Path" %}',
switchable: true,
sortable: false,
},
{
field: 'parts',
title: '{% trans "Parts" %}',