1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-21 18:11:10 +00:00

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);