summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-02-24 19:51:57 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-02-24 19:51:57 -0500
commit1e105a64ab12b37f55b605a89e869f7bbb520e95 (patch)
tree24d3161f22e616b40da5e58a6f2cc20fc6533405 /app/Controllers/configureController.php
parent166009f3623213249086038f7af72a76507f60dc (diff)
Add a configuration option to get sticky articles
Now the user can choose if an opened article will be repositioned to the top or not See #338
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 104fa8900..f831f25d0 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -148,6 +148,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
$this->view->conf->_display_posts(Minz_Request::param('display_posts', false));
$this->view->conf->_onread_jump_next(Minz_Request::param('onread_jump_next', false));
$this->view->conf->_lazyload (Minz_Request::param('lazyload', false));
+ $this->view->conf->_sticky_post (Minz_Request::param('sticky_post', false));
$this->view->conf->_sort_order(Minz_Request::param('sort_order', 'DESC'));
$this->view->conf->_mark_when (array(
'article' => Minz_Request::param('mark_open_article', false),