mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 12:13:18 +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:
parent
9002fb78d3
commit
74f468dc1b
7 changed files with 24 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue