diff options
| author | 2014-09-19 18:47:49 +0200 | |
|---|---|---|
| committer | 2014-09-19 18:47:49 +0200 | |
| commit | 07d123f1aa09afc79c322b2364132981f5285ac1 (patch) | |
| tree | eb3c52a9a0afa6ade2fe95ad47941af9a2d2db1a /app/Controllers | |
| parent | 635ea04d52b3078e6a76c64072cf86d60b6c1561 (diff) | |
Load $nb/2 articles when reading view
Fix https://github.com/marienfressinaud/FreshRSS/commit/7d5e57b35b4eca07417c296c156edb3b88eef90b
See https://github.com/marienfressinaud/FreshRSS/issues/559
Diffstat (limited to 'app/Controllers')
| -rwxr-xr-x | app/Controllers/indexController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index b69c09127..bc03f1916 100755 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -84,7 +84,7 @@ class FreshRSS_index_Controller extends Minz_ActionController { $first = Minz_Request::param ('next', ''); $ajax_request = Minz_Request::param('ajax', false); - if ($ajax_request == 1 && $this->view->conf->display_posts) { + if ($output === 'reader') { $nb = max(1, round($nb / 2)); } |
