]> Raphaël G. Git Repositories - blogbundle/commitdiff
Add RapsysBlogBundle:UserGroup entry
authorRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 04:49:55 +0000 (05:49 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 04:49:55 +0000 (05:49 +0100)
Repository/EntityRepository.php

index 0b8aede6ee8a4da15bb0f94c99e1fa2acf431e01..18fad317b4ff454ff3ebdf69f5b72c065cee2f7f 100644 (file)
@@ -114,6 +114,7 @@ class EntityRepository extends BaseEntityRepository {
                $tables = [
                        //Set entities
                        'RapsysBlogBundle:ArticleKeyword' => $qs->getJoinTableName($manager->getClassMetadata('Rapsys\BlogBundle\Entity\Article')->getAssociationMapping('keywords'), $manager->getClassMetadata('Rapsys\BlogBundle\Entity\Article'), $dp),
+                       'RapsysBlogBundle:UserGroup' => $qs->getJoinTableName($manager->getClassMetadata('Rapsys\BlogBundle\Entity\User')->getAssociationMapping('groups'), $manager->getClassMetadata('Rapsys\BlogBundle\Entity\User'), $dp),
                        'RapsysBlogBundle:ArticleTranslation' => $qs->getTableName($manager->getClassMetadata('Rapsys\BlogBundle\Entity\ArticleTranslation'), $dp),
                        'RapsysBlogBundle:KeywordTranslation' => $qs->getTableName($manager->getClassMetadata('Rapsys\BlogBundle\Entity\KeywordTranslation'), $dp),
                        'RapsysBlogBundle:UserTranslation' => $qs->getTableName($manager->getClassMetadata('Rapsys\BlogBundle\Entity\UserTranslation'), $dp),