mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed imports of parameters on parts
It was missing the required serialization group. This fixes issue #718
This commit is contained in:
parent
76e945bbbd
commit
0c47aa226c
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class Part extends AttachmentContainingDBElement
|
|||
/** @var Collection<int, PartParameter>
|
||||
*/
|
||||
#[Assert\Valid]
|
||||
#[Groups(['full', 'part:read', 'part:write'])]
|
||||
#[Groups(['full', 'part:read', 'part:write', 'import'])]
|
||||
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
||||
#[ORM\OrderBy(['group' => Criteria::ASC, 'name' => 'ASC'])]
|
||||
#[UniqueObjectCollection(fields: ['name', 'group', 'element'])]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue