diff options
author | Mario <mario@mariovavti.com> | 2025-05-15 16:57:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-05-15 16:57:02 +0000 |
commit | 4bf675298259d5324edaa84ec23390773cb639cb (patch) | |
tree | c0e24b80a4234ddb22e9ddb08380ec9d7c39186e /Zotlabs/Module | |
parent | 5c3f2f94696b47fc8c5170eab973c496bedccbdc (diff) | |
download | volse-hubzilla-4bf675298259d5324edaa84ec23390773cb639cb.tar.gz volse-hubzilla-4bf675298259d5324edaa84ec23390773cb639cb.tar.bz2 volse-hubzilla-4bf675298259d5324edaa84ec23390773cb639cb.zip |
implement extra sql for mod channel and display
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Channel.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Display.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index 39eee37bd..2619911b3 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -416,7 +416,7 @@ class Channel extends Controller { if ($r) { $parents_str = ids_to_querystr($r, 'item_id'); - $r = items_by_parent_ids($parents_str, blog_mode: $blog_mode); + $r = items_by_parent_ids($parents_str, sql_extra: $sql_extra, blog_mode: $blog_mode); xchan_query($r); $items = fetch_post_tags($r, true); diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index c11da2e85..baa352e7f 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -291,7 +291,7 @@ class Display extends Controller { $parents_str = ids_to_querystr($r,'item_id'); if($parents_str) { $thr_parents_str = stringify_array(get_recursive_thr_parents($target_item), true); - $items = items_by_parent_ids($parents_str, $thr_parents_str); + $items = items_by_parent_ids($parents_str, $thr_parents_str, $sql_extra); xchan_query($items); $items = fetch_post_tags($items,true); |