2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Cleanup "bom_invalid" filter

- Allow filtering by bom either valid or invalid
- Use "bom_valid" as the filter (positive tense)
This commit is contained in:
Oliver Walters
2020-09-19 21:03:49 +10:00
parent 87d0d872e0
commit 1b6843e72d
3 changed files with 16 additions and 12 deletions

View File

@ -72,7 +72,7 @@ loadSimplePartTable("#starred-parts-table", "{% url 'api-part-list' %}", {
loadSimplePartTable("#bom-invalid-table", "{% url 'api-part-list' %}", {
params: {
"bom_invalid": true,
"bom_valid": false,
},
name: 'bom_invalid_parts',
});