diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-10 16:10:56 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-10 16:10:56 -0700 |
commit | abbf245d1471f8038843c74541fb2f8a704dc8a4 (patch) | |
tree | e72aa693a58e003cb22fa3e97fda75d911a69970 /Zotlabs/Module | |
parent | 67024c023aed13070296c6e44644e489ff5f2417 (diff) | |
download | volse-hubzilla-abbf245d1471f8038843c74541fb2f8a704dc8a4.tar.gz volse-hubzilla-abbf245d1471f8038843c74541fb2f8a704dc8a4.tar.bz2 volse-hubzilla-abbf245d1471f8038843c74541fb2f8a704dc8a4.zip |
remove item_thread_top from simple_update query - we're already fetching distinct(parent) and this prevented comments from displaying after submission when remote-authed.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Channel.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Network.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index d82ed8e5d..4ffc9ffc6 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -194,7 +194,7 @@ class Channel extends \Zotlabs\Web\Controller { $simple_update = ''; if($static && $simple_update) - $simple_update .= " and item_thread_top = 1 and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' "; + $simple_update .= " and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' "; if(($update) && (! $load)) { diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php index db90e235f..2b5584c35 100644 --- a/Zotlabs/Module/Network.php +++ b/Zotlabs/Module/Network.php @@ -478,6 +478,7 @@ class Network extends \Zotlabs\Web\Controller { } else { + // this is an update $r = q("SELECT item.parent AS item_id FROM item left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids ) @@ -510,7 +511,7 @@ class Network extends \Zotlabs\Web\Controller { else { $items = array(); } - + if($page_mode === 'list') { /** |