aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cards.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-22 17:17:00 -0700
committerzotlabs <mike@macgirvin.com>2018-03-22 17:17:00 -0700
commit05e11844e5a0f90b7f45f27047b2926442484108 (patch)
tree489ae1ec89f090f0395c25ea537b45fa86bf7ede /Zotlabs/Module/Cards.php
parent4ba91cf4e3da5637a8c2a4a65f84c3178ce0d343 (diff)
downloadvolse-hubzilla-05e11844e5a0f90b7f45f27047b2926442484108.tar.gz
volse-hubzilla-05e11844e5a0f90b7f45f27047b2926442484108.tar.bz2
volse-hubzilla-05e11844e5a0f90b7f45f27047b2926442484108.zip
make list mode work in cards and articles
Diffstat (limited to 'Zotlabs/Module/Cards.php')
-rw-r--r--Zotlabs/Module/Cards.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php
index d507f1a9f..d3b16e82e 100644
--- a/Zotlabs/Module/Cards.php
+++ b/Zotlabs/Module/Cards.php
@@ -183,8 +183,8 @@ class Cards extends \Zotlabs\Web\Controller {
$mode = 'cards';
- if(get_pconfig(local_channel(),'system','articles_list_mode'))
- $page_mode = 'list';
+ if(get_pconfig(local_channel(),'system','articles_list_mode') && (! $selected_card))
+ $page_mode = 'pager_list';
else
$page_mode = 'traditional';
@@ -194,7 +194,7 @@ class Cards extends \Zotlabs\Web\Controller {
'$title' => t('Cards'),
'$editor' => $editor,
'$content' => $content,
- '$pager' => alt_pager($a, $pager_total))
+ '$pager' => alt_pager($a, $pager_total)
]);
return $o;