Browse Source

Bug fix: Requete findBySearch: Groupes: JOIN et non LEFT JOIN, pour exclure ceux qui ne sont pas lié a un groupe suivis.

bastien 13 years ago
parent
commit
50458a52b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/CoreBundle/Repository/ElementRepository.php

+ 1 - 1
src/Muzich/CoreBundle/Repository/ElementRepository.php View File

41
         
41
         
42
         $join_personal = "
42
         $join_personal = "
43
           LEFT JOIN eu.followers_users f WITH f.follower = :userid "
43
           LEFT JOIN eu.followers_users f WITH f.follower = :userid "
44
-          ."LEFT JOIN g.followers gf WITH gf.follower = :useridg"
44
+          ."JOIN g.followers gf WITH gf.follower = :useridg"
45
           ;
45
           ;
46
         $params['userid'] = $user_id;
46
         $params['userid'] = $user_id;
47
         $params['useridg'] = $user_id;
47
         $params['useridg'] = $user_id;