X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/31ea77b9a1822280f92bf4d0480bc6a3962a2a66..c86e0d71f9c86536280d1706208e28f2346a0688:/Repository/EntityRepository.php?ds=sidebyside diff --git a/Repository/EntityRepository.php b/Repository/EntityRepository.php index 0b8aede..9036eca 100644 --- a/Repository/EntityRepository.php +++ b/Repository/EntityRepository.php @@ -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), @@ -130,6 +131,7 @@ class EntityRepository extends BaseEntityRepository { ':limit' => PHP_INT_MAX, //Set cleanup "\t" => '', + "\r" => ' ', "\n" => ' ' ];