diff options
| author | 2014-02-21 20:48:43 +0100 | |
|---|---|---|
| committer | 2014-02-21 20:48:43 +0100 | |
| commit | 7afd9e398a505aebf540ab32c3c6a29bb94a9514 (patch) | |
| tree | 35f1f78ccd3adb85b1b2507197e4a6b69f289c0e /app/views/helpers/javascript_vars.phtml | |
| parent | d7083803c371c1668c92e086b3bff6e8a7610bc5 (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.phtml | 1 |
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', |
