aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Articles.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/Articles.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/Articles.php')
-rw-r--r--Zotlabs/Module/Articles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Articles.php b/Zotlabs/Module/Articles.php
index c622edd10..62ce1cb9c 100644
--- a/Zotlabs/Module/Articles.php
+++ b/Zotlabs/Module/Articles.php
@@ -180,8 +180,8 @@ class Articles extends \Zotlabs\Web\Controller {
$mode = 'articles';
- 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';