aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Network.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-03 19:04:20 +0000
committerMario <mario@mariovavti.com>2025-05-03 19:04:20 +0000
commitfb3eae96abff7543c9e91a2889f0b087bd0cd129 (patch)
tree85bf9170bfc48e57e893ad95a8383a115648f568 /Zotlabs/Module/Network.php
parentcc91446c186a98a5761c3dd5790cddbd9dfc15b7 (diff)
downloadvolse-hubzilla-fb3eae96abff7543c9e91a2889f0b087bd0cd129.tar.gz
volse-hubzilla-fb3eae96abff7543c9e91a2889f0b087bd0cd129.tar.bz2
volse-hubzilla-fb3eae96abff7543c9e91a2889f0b087bd0cd129.zip
implement blog_mode
Diffstat (limited to 'Zotlabs/Module/Network.php')
-rw-r--r--Zotlabs/Module/Network.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php
index cfba20dfc..7fa4df456 100644
--- a/Zotlabs/Module/Network.php
+++ b/Zotlabs/Module/Network.php
@@ -427,11 +427,7 @@ class Network extends \Zotlabs\Web\Controller {
$abook_uids = ' and abook.abook_channel = ' . local_channel() . ' ';
$uids = ' and item.uid = ' . local_channel() . ' ';
- if(feature_enabled(local_channel(), 'network_list_mode'))
- $page_mode = 'list';
- else
- $page_mode = 'client';
-
+ $page_mode = 'client';
$parents_str = '';
// This fixes a very subtle bug so I'd better explain it. You wake up in the morning or return after a day
@@ -504,7 +500,7 @@ class Network extends \Zotlabs\Web\Controller {
if($r) {
$parents_str = ids_to_querystr($r, 'item_id');
- $items = items_by_parent_ids($parents_str);
+ $items = items_by_parent_ids($parents_str, blog_mode: feature_enabled(local_channel(), 'network_list_mode'));
xchan_query($items, true);
$items = fetch_post_tags($items, true);