Allow to filter by the lot owner

This commit is contained in:
Jan Böhmer 2023-04-08 00:44:34 +02:00
parent f91b719542
commit d32e902d17
4 changed files with 32 additions and 8 deletions

View file

@ -36,6 +36,7 @@ use App\Form\Filters\Constraints\ParameterConstraintType;
use App\Form\Filters\Constraints\StructuralEntityConstraintType;
use App\Form\Filters\Constraints\TagsConstraintType;
use App\Form\Filters\Constraints\TextConstraintType;
use App\Form\Filters\Constraints\UserEntityConstraintType;
use Svg\Tag\Text;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
@ -227,6 +228,10 @@ class PartFilterType extends AbstractType
'label' => 'part.filter.lotDescription',
]);
$builder->add('lotOwner', UserEntityConstraintType::class, [
'label' => 'part.filter.lotOwner',
]);
/**
* Attachments count
*/