aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-21 20:48:43 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-21 20:48:43 +0100
commit7afd9e398a505aebf540ab32c3c6a29bb94a9514 (patch)
tree35f1f78ccd3adb85b1b2507197e4a6b69f289c0e /app/views/helpers/javascript_vars.phtml
parentd7083803c371c1668c92e086b3bff6e8a7610bc5 (diff)
Bug "mark all as read" when using DESC and pagination
https://github.com/marienfressinaud/FreshRSS/issues/431#issuecomment-35710258
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 3d7c8a98f..afe0ab258 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -5,6 +5,7 @@ echo '"use strict";', "\n";
$mark = $this->conf->mark_when;
echo 'var ',
'hide_posts=', ($this->conf->display_posts || Minz_Request::param('output') === 'reader') ? 'false' : 'true',
+ ',display_order="', Minz_Request::param('order', $this->conf->sort_order), '"',
',auto_mark_article=', $mark['article'] ? 'true' : 'false',
',auto_mark_site=', $mark['site'] ? 'true' : 'false',
',auto_mark_scroll=', $mark['scroll'] ? 'true' : 'false',