Removed outputWalkers for RSS and API

This commit is contained in:
Nicolas Lœuillet 2016-12-14 09:00:14 +01:00 committed by Jeremy Benoist
parent 9deac0c597
commit 5a5da36955
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ class RssController extends Controller
throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type));
}
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery());
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false);
$entries = new Pagerfanta($pagerAdapter);
$perPage = $user->getConfig()->getRssLimit() ?: $this->getParameter('wallabag_core.rss_limit');

View file

@ -171,7 +171,7 @@ class EntryRepository extends EntityRepository
$qb->orderBy('e.updatedAt', $order);
}
$pagerAdapter = new DoctrineORMAdapter($qb);
$pagerAdapter = new DoctrineORMAdapter($qb, true, false);
return new Pagerfanta($pagerAdapter);
}