mirror of
https://github.com/inventree/inventree-app.git
synced 2026-09-09 03:10:14 +00:00
Add extra filtering options for supplier parts (#868)
* Add extra filtering options for supplier parts * Update release notes * Allow edit of "primary" field
This commit is contained in:
@@ -65,6 +65,14 @@ class _PaginatedSupplierPartListState
|
||||
};
|
||||
}
|
||||
|
||||
if (InvenTreeAPI().supportsSupplierPartPrimaryField) {
|
||||
filters["primary"] = {
|
||||
"label": L10().filterPrimary,
|
||||
"help_text": L10().filterPrimaryDetail,
|
||||
"tristate": true,
|
||||
};
|
||||
}
|
||||
|
||||
return filters;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user