diff options
| author | 2014-10-22 18:21:36 +0200 | |
|---|---|---|
| committer | 2014-10-22 18:21:36 +0200 | |
| commit | 9551145200b61717fdeb11007e1da541ddf93f0f (patch) | |
| tree | f5d09af281d20e7df05a08193bcb959ef6b17369 /app/Controllers/configureController.php | |
| parent | eb60b82959d768b199985523e7d4e05ba4055591 (diff) | |
Better view mode
- Seperate view mode from default state in conf
- Load read articles if no unread articles only if view is adaptive
See https://github.com/marienfressinaud/FreshRSS/issues/634
Diffstat (limited to 'app/Controllers/configureController.php')
| -rwxr-xr-x | app/Controllers/configureController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index 8a9dcdc62..9a7870000 100755 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -104,7 +104,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController { if (Minz_Request::isPost()) { FreshRSS_Context::$conf->_posts_per_page(Minz_Request::param('posts_per_page', 10)); FreshRSS_Context::$conf->_view_mode(Minz_Request::param('view_mode', 'normal')); - FreshRSS_Context::$conf->_default_view((int)Minz_Request::param('default_view', FreshRSS_Entry::STATE_ALL)); + FreshRSS_Context::$conf->_default_view(Minz_Request::param('default_view', 'adaptive')); FreshRSS_Context::$conf->_auto_load_more(Minz_Request::param('auto_load_more', false)); FreshRSS_Context::$conf->_display_posts(Minz_Request::param('display_posts', false)); FreshRSS_Context::$conf->_display_categories(Minz_Request::param('display_categories', false)); |
