mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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
|
||||
if (tableKey == 'usedin') {
|
||||
return {
|
||||
'inherited': {
|
||||
type: 'bool',
|
||||
title: '{% trans "Inherited" %}',
|
||||
},
|
||||
'optional': {
|
||||
type: 'bool',
|
||||
title: '{% trans "Optional" %}',
|
||||
},
|
||||
'part_active': {
|
||||
type: 'bool',
|
||||
title: '{% trans "Active" %}',
|
||||
},
|
||||
'part_trackable': {
|
||||
type: 'bool',
|
||||
title: '{% trans "Trackable" %}',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user