diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-22 17:17:00 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-05 09:30:01 +0200 |
commit | 1a53a4bc53e0e7785e216eba15860c7a9a0af964 (patch) | |
tree | c88e6b9baddec14a13e57c458b325f524a3dcbb3 /Zotlabs/Module/Articles.php | |
parent | 4423f4c93019b01b44f9c12946dc30f9894bdfab (diff) | |
download | volse-hubzilla-1a53a4bc53e0e7785e216eba15860c7a9a0af964.tar.gz volse-hubzilla-1a53a4bc53e0e7785e216eba15860c7a9a0af964.tar.bz2 volse-hubzilla-1a53a4bc53e0e7785e216eba15860c7a9a0af964.zip |
make list mode work in cards and articles
Diffstat (limited to 'Zotlabs/Module/Articles.php')
-rw-r--r-- | Zotlabs/Module/Articles.php | 4 |
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'; |