]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Repository/EntityRepository.php
Add about page
[blogbundle] / 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),