|
@@ -182,7 +182,7 @@ class ElementRepository extends EntityRepository
|
182
|
182
|
$query_select = "SELECT e, t, o, g, fav
|
183
|
183
|
FROM MuzichCoreBundle:Element e
|
184
|
184
|
LEFT JOIN e.group g
|
185
|
|
- LEFT JOIN e.tags t WITH (t.tomoderate = '0'
|
|
185
|
+ LEFT JOIN e.tags t WITH (t.tomoderate = 'FALSE' OR t.tomoderate IS NULL
|
186
|
186
|
OR t.privateids LIKE :uidt)
|
187
|
187
|
LEFT JOIN e.elements_favorites fav WITH fav.user = :uid
|
188
|
188
|
JOIN e.owner o
|