Removed outputWalkers for pagination

Due to overload, we disabled output walkers (see https://github.com/whiteoctober/Pagerfanta/issues/115
This commit is contained in:
Nicolas Lœuillet 2016-12-13 20:12:21 +01:00 committed by Jeremy Benoist
parent 24becc9717
commit 9deac0c597
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 4 deletions

View file

@ -319,7 +319,7 @@ class EntryController extends Controller
$this->get('lexik_form_filter.query_builder_updater')->addFilterConditions($form, $qb);
}
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery());
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false);
$entries = $this->get('wallabag_core.helper.prepare_pager_for_entries')
->prepare($pagerAdapter, $page);

View file

@ -125,9 +125,7 @@ class EntryRepository extends EntityRepository
{
return $this
->getBuilderByUser($userId)
->leftJoin('e.tags', 't')
->groupBy('e.id')
->having('count(t.id) = 0');
->andWhere('size(e.tags) = 0');
}
/**