additional filters for "used-in" table

This commit is contained in:
Oliver 2021-11-16 00:04:06 +11:00
parent 6367f1a9ed
commit 5b0a2576f6

View File

@ -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" %}',
},
};
}