X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/31ea77b9a1822280f92bf4d0480bc6a3962a2a66..b147a5686746571c757681c7e6657eea0d0b4b0f:/Repository/EntityRepository.php 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" => ' ' ];