remove distinct from network query again until performance issue is resolved or another fix for the underlying problem is found
This commit is contained in:
parent
4c1944a08d
commit
6a2bbed73d
@ -510,7 +510,7 @@ class Network extends \Zotlabs\Web\Controller {
|
||||
|
||||
if($load) {
|
||||
// Fetch a page full of parent items for this page
|
||||
$r = q("SELECT DISTINCT(item.parent) AS item_id FROM item
|
||||
$r = q("SELECT item.parent AS item_id FROM item
|
||||
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
|
||||
$net_query
|
||||
WHERE true $uids $item_thread_top $item_normal
|
||||
@ -524,7 +524,7 @@ class Network extends \Zotlabs\Web\Controller {
|
||||
else {
|
||||
|
||||
// this is an update
|
||||
$r = q("SELECT DISTINCT(item.parent) AS item_id FROM item
|
||||
$r = q("SELECT item.parent AS item_id FROM item
|
||||
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
|
||||
$net_query
|
||||
WHERE true $uids $item_normal_update $simple_update
|
||||
|
Reference in New Issue
Block a user