mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add ability to filter location and category tables by "structural" status (#4000)
This commit is contained in:
parent
ede2b4e787
commit
7e21e77c5f
@ -130,6 +130,10 @@ function getAvailableTableFilters(tableKey) {
|
||||
title: '{% trans "Include sublocations" %}',
|
||||
description: '{% trans "Include locations" %}',
|
||||
},
|
||||
structural: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Structural" %}',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@ -141,6 +145,10 @@ function getAvailableTableFilters(tableKey) {
|
||||
title: '{% trans "Include subcategories" %}',
|
||||
description: '{% trans "Include subcategories" %}',
|
||||
},
|
||||
structural: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Structural" %}',
|
||||
},
|
||||
starred: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Subscribed" %}',
|
||||
|
Loading…
Reference in New Issue
Block a user