mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 13:28:49 +00:00
additional filters for "used-in" table
This commit is contained in:
parent
6367f1a9ed
commit
5b0a2576f6
@ -77,10 +77,22 @@ function getAvailableTableFilters(tableKey) {
|
|||||||
// Filters for the "used in" table
|
// Filters for the "used in" table
|
||||||
if (tableKey == 'usedin') {
|
if (tableKey == 'usedin') {
|
||||||
return {
|
return {
|
||||||
|
'inherited': {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Inherited" %}',
|
||||||
|
},
|
||||||
|
'optional': {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Optional" %}',
|
||||||
|
},
|
||||||
'part_active': {
|
'part_active': {
|
||||||
type: 'bool',
|
type: 'bool',
|
||||||
title: '{% trans "Active" %}',
|
title: '{% trans "Active" %}',
|
||||||
},
|
},
|
||||||
|
'part_trackable': {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Trackable" %}',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user