mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-04 16:10:03 +00:00
Merge pull request #5585 from christianjunk/master
Fixed wrong number of entries for tag feeds
This commit is contained in:
commit
c57cd26d68
1 changed files with 3 additions and 0 deletions
|
@ -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?');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue