File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -268,21 +268,16 @@ protected function doIndex()
268268 {
269269 $ entityClass = ltrim ($ this ->getEntityClass (), '\\' );
270270
271- $ queryBuilder = $ this
271+ $ query = $ this
272272 ->getContextRepository ()
273- ->createContextQueryBuilder ($ entityClass );
274-
275- foreach ($ this ->getFields ()['join ' ] as $ key => $ field ) {
276- $ queryBuilder
277- ->join ('e. ' .$ field , $ key );
278- }
279-
280- $ query = $ queryBuilder
273+ ->createContextQueryBuilder ($ entityClass )
281274 ->getQuery ()
282275 ->setHint (
283276 Query::HINT_CUSTOM_OUTPUT_WALKER ,
284277 'Gedmo\Translatable\Query\TreeWalker\TranslationWalker '
285- );
278+ )
279+ // ->getResult()
280+ ;
286281
287282 return $ this ->renderIndex ($ query );
288283 }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function setRequest($request)
1818 public static function getSubscribedEvents ()
1919 {
2020 return array (
21- 'knp_pager.items ' => array ('items ' , 1 )
21+ // 'knp_pager.items' => array('items', 1)
2222 );
2323 }
2424
You can’t perform that action at this time.
0 commit comments