2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-01-22 18:59:43 +00:00

Default filters (#749)

* Bug fix for filters

- Fix key shadowing

* Adjust default filters for stock list

* Adjust default filter values

* Add "active" filter for stock items

* Code formatting
This commit is contained in:
Oliver
2026-01-15 13:20:24 +11:00
committed by GitHub
parent 9002fb78d3
commit 74f468dc1b
7 changed files with 24 additions and 9 deletions

View File

@@ -75,8 +75,13 @@ class _PaginatedStockItemListState
"help_text": L10().filterInStockDetail,
"tristate": true,
},
"active": {
"default": true,
"label": L10().filterActive,
"help_text": L10().filterActiveDetail,
},
"cascade": {
"default": false,
"default": true,
"label": L10().includeSublocations,
"help_text": L10().includeSublocationsDetail,
"tristate": false,