mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-22 22:58:08 +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
|
||||
);
|
||||
|
||||
$perPage = $user->getConfig()->getFeedLimit() ?: $this->getParameter('wallabag_core.feed_limit');
|
||||
$entries->setMaxPerPage($perPage);
|
||||
|
||||
if (null === $entries) {
|
||||
throw $this->createNotFoundException('No entries found?');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue