diff --git a/src/frontend/src/components/wizards/OrderPartsWizard.tsx b/src/frontend/src/components/wizards/OrderPartsWizard.tsx index e026cae9fb..9db57a0eb3 100644 --- a/src/frontend/src/components/wizards/OrderPartsWizard.tsx +++ b/src/frontend/src/components/wizards/OrderPartsWizard.tsx @@ -306,12 +306,17 @@ function SelectPartsStep({ placeholder: t`Select supplier part`, required: true, autoFill: true, + autoFillFilters: { + active: true, + primary: true + }, value: record.supplier_part?.pk, onValueChange: (value, instance) => { onSelectSupplierPart(record.part.pk, instance); }, filters: { part: record.part.pk, + ordering: '-primary', active: true, part_detail: true, supplier_detail: true