diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-03 10:40:41 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-03 10:40:41 +0100 |
commit | 8e74fa253deea78486df2324071c94654bdca503 (patch) | |
tree | d4d7a0680d540028f2170fa8f4ecc277fe6076d3 /controller/pagecontroller.php | |
parent | 1c7837c7cc324e11966bcebb9f5ca61ae29519a9 (diff) |
Make expand entries in compact view after jumping to next/previous feed optional with a setting
Diffstat (limited to 'controller/pagecontroller.php')
-rw-r--r-- | controller/pagecontroller.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 861fa285f..6f37f5855 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -84,7 +84,8 @@ class PageController extends Controller { 'showAll', 'compact', 'preventReadOnScroll', - 'oldestFirst' + 'oldestFirst', + 'compactExpand' ]; $exploreUrl = $this->config->getExploreUrl(); @@ -117,11 +118,12 @@ class PageController extends Controller { * @param bool $oldestFirst */ public function updateSettings($showAll, $compact, $preventReadOnScroll, - $oldestFirst) { + $oldestFirst, $compactExpand) { $settings = ['showAll', 'compact', 'preventReadOnScroll', - 'oldestFirst' + 'oldestFirst', + 'compactExpand' ]; foreach ($settings as $setting) { |