diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-12-14 09:00:14 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-15 22:22:57 +0100 |
commit | 5a5da36955a00a4c07100c81c443d195a4dd01a2 (patch) | |
tree | bc215aede9b5eb84ca8c22b195b3be3edb90aff4 /src | |
parent | 9deac0c597d10283ac720a57484a78ff960fc138 (diff) | |
download | wallabag-5a5da36955a00a4c07100c81c443d195a4dd01a2.tar.gz wallabag-5a5da36955a00a4c07100c81c443d195a4dd01a2.tar.zst wallabag-5a5da36955a00a4c07100c81c443d195a4dd01a2.zip |
Removed outputWalkers for RSS and API
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/RssController.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/RssController.php b/src/Wallabag/CoreBundle/Controller/RssController.php index 2290386f..92f18707 100644 --- a/src/Wallabag/CoreBundle/Controller/RssController.php +++ b/src/Wallabag/CoreBundle/Controller/RssController.php | |||
@@ -85,7 +85,7 @@ class RssController extends Controller | |||
85 | throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type)); | 85 | throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type)); |
86 | } | 86 | } |
87 | 87 | ||
88 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery()); | 88 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); |
89 | $entries = new Pagerfanta($pagerAdapter); | 89 | $entries = new Pagerfanta($pagerAdapter); |
90 | 90 | ||
91 | $perPage = $user->getConfig()->getRssLimit() ?: $this->getParameter('wallabag_core.rss_limit'); | 91 | $perPage = $user->getConfig()->getRssLimit() ?: $this->getParameter('wallabag_core.rss_limit'); |
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index c37a52c9..b9532fa2 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -171,7 +171,7 @@ class EntryRepository extends EntityRepository | |||
171 | $qb->orderBy('e.updatedAt', $order); | 171 | $qb->orderBy('e.updatedAt', $order); |
172 | } | 172 | } |
173 | 173 | ||
174 | $pagerAdapter = new DoctrineORMAdapter($qb); | 174 | $pagerAdapter = new DoctrineORMAdapter($qb, true, false); |
175 | 175 | ||
176 | return new Pagerfanta($pagerAdapter); | 176 | return new Pagerfanta($pagerAdapter); |
177 | } | 177 | } |