mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +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" %}',
|
title: '{% trans "Include sublocations" %}',
|
||||||
description: '{% trans "Include locations" %}',
|
description: '{% trans "Include locations" %}',
|
||||||
},
|
},
|
||||||
|
structural: {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Structural" %}',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,6 +145,10 @@ function getAvailableTableFilters(tableKey) {
|
|||||||
title: '{% trans "Include subcategories" %}',
|
title: '{% trans "Include subcategories" %}',
|
||||||
description: '{% trans "Include subcategories" %}',
|
description: '{% trans "Include subcategories" %}',
|
||||||
},
|
},
|
||||||
|
structural: {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Structural" %}',
|
||||||
|
},
|
||||||
starred: {
|
starred: {
|
||||||
type: 'bool',
|
type: 'bool',
|
||||||
title: '{% trans "Subscribed" %}',
|
title: '{% trans "Subscribed" %}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user