mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 19:58:53 +02:00
Group label profiles by their supported element on admin page.
This commit is contained in:
parent
f16dec51b6
commit
747962884a
3 changed files with 81 additions and 2 deletions
|
@ -28,7 +28,7 @@ use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
|
|||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Repository\NamedDBElementRepository")
|
||||
* @ORM\Entity(repositoryClass="App\Repository\LabelProfileRepository")
|
||||
* @ORM\Table(name="label_profiles")
|
||||
* @ORM\EntityListeners({"App\EntityListeners\TreeCacheInvalidationListener"})
|
||||
* @UniqueEntity({"name", "options.supported_element"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue