mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 11:54:32 +02:00
Allow to filter by the lot owner
This commit is contained in:
parent
f91b719542
commit
d32e902d17
4 changed files with 32 additions and 8 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue