Fix: Properly toggle assignment bookmark

This commit is contained in:
Björn Fromme
2023-10-20 18:00:22 +02:00
parent 12cfdafd79
commit 30ce617cf7
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class Teamer implements TimestampableEntityInterface
#[ORM\ManyToMany(targetEntity: JobProfile::class, orphanRemoval: true)]
private Collection $jobProfiles;
#[ORM\ManyToMany(targetEntity: Assignment::class, inversedBy: 'teamers', orphanRemoval: true)]
#[ORM\ManyToMany(targetEntity: Assignment::class, inversedBy: 'teamers')]
private Collection $bookmarks;
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Application::class, cascade: ['remove'])]