Use new label for ProjectBOMEntry

This commit is contained in:
Jan Böhmer 2023-01-08 19:40:56 +01:00
parent 513e7f3851
commit f2dfe12087
7 changed files with 3 additions and 65 deletions

View file

@ -41,8 +41,8 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "attachment_type" = "App\Entity\AttachmentType",
* "attachment" = "App\Entity\Attachment",
* "category" = "App\Entity\Attachment",
* "device" = "App\Entity\Device",
* "device_part" = "App\Entity\DevicePart",
* "project" = "App\Entity\ProjectSystem\Project",
* "project_bom_entry" = "App\Entity\ProjectSystem\ProjectBOMEntry",
* "footprint" = "App\Entity\Footprint",
* "group" = "App\Entity\Group",
* "manufacturer" = "App\Entity\Manufacturer",

View file

@ -138,7 +138,7 @@ class LogFilterType extends AbstractType
'attachment_type.label' => AbstractLogEntry::targetTypeClassToID(AttachmentType::class),
'category.label' => AbstractLogEntry::targetTypeClassToID(Category::class),
'project.label' => AbstractLogEntry::targetTypeClassToID(Project::class),
'device_part.label' => AbstractLogEntry::targetTypeClassToID(ProjectBOMEntry::class),
'project_bom_entry.label' => AbstractLogEntry::targetTypeClassToID(ProjectBOMEntry::class),
'footprint.label' => AbstractLogEntry::targetTypeClassToID(Footprint::class),
'group.label' => AbstractLogEntry::targetTypeClassToID(Group::class),
'manufacturer.label' => AbstractLogEntry::targetTypeClassToID(Manufacturer::class),