Fixed wrong number of entries for tag feeds.

This commit is contained in:
Christian Junk 2022-01-30 18:11:18 +01:00 committed by GitHub
parent e833fc4017
commit fc7265f1b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,9 @@ class FeedController extends Controller
$pagerAdapter,
$user
);
$perPage = $user->getConfig()->getFeedLimit() ?: $this->getParameter('wallabag_core.feed_limit');
$entries->setMaxPerPage($perPage);
if (null === $entries) {
throw $this->createNotFoundException('No entries found?');