aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Wallabag/CoreBundle/Controller/RssController.php2
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php2
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 }