forked from wallabag/wallabag
Fixed wrong number of entries for tag feeds.
This commit is contained in:
@ -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?');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user