Allow to order and filter by GTIN in part tables

This commit is contained in:
Jan Böhmer 2026-02-08 15:51:39 +01:00
parent 1130f71075
commit a962e5e019
6 changed files with 19 additions and 1 deletions

View file

@ -135,6 +135,10 @@ class PartFilterType extends AbstractType
'min' => 0,
]);
$builder->add('gtin', TextConstraintType::class, [
'label' => 'part.gtin',
]);
$builder->add('measurementUnit', StructuralEntityConstraintType::class, [
'label' => 'part.edit.partUnit',
'entity_class' => MeasurementUnit::class