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

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?');
} }