mirror of
https://github.com/inventree/inventree-app.git
synced 2026-03-11 04:34:29 +00:00
Fix default location for "cascade" filter (#793)
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## 0.22.5 - March 2026
|
||||||
|
---
|
||||||
|
|
||||||
|
- Fix default value for "cascade" filter in PartCategory list view
|
||||||
|
- Fix default value for "cascade" filter in StockLocation list view
|
||||||
|
|
||||||
## 0.22.4 - March 2026
|
## 0.22.4 - March 2026
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class _PaginatedPartCategoryListState
|
|||||||
@override
|
@override
|
||||||
Map<String, Map<String, dynamic>> get filterOptions => {
|
Map<String, Map<String, dynamic>> get filterOptions => {
|
||||||
"cascade": {
|
"cascade": {
|
||||||
"default": false,
|
"default": true,
|
||||||
"label": L10().includeSubcategories,
|
"label": L10().includeSubcategories,
|
||||||
"help_text": L10().includeSubcategoriesDetail,
|
"help_text": L10().includeSubcategoriesDetail,
|
||||||
"tristate": false,
|
"tristate": false,
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ class _PaginatedStockLocationListState
|
|||||||
"label": L10().includeSublocations,
|
"label": L10().includeSublocations,
|
||||||
"help_text": L10().includeSublocationsDetail,
|
"help_text": L10().includeSublocationsDetail,
|
||||||
"tristate": false,
|
"tristate": false,
|
||||||
|
"default": true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user