Merge pull request #5585 from christianjunk/master

Fixed wrong number of entries for tag feeds
This commit is contained in:
Jérémy Benoist 2022-01-31 10:40:25 +01:00 committed by GitHub
commit c57cd26d68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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