fix new/search mod on network page, fix the parent queries on network and channel pages - which you probably didn't even notice were all stuffed up because the endless scroll made things right.
This commit is contained in:
@@ -622,7 +622,7 @@ function network_content(&$a, $update = 0, $load = false) {
|
||||
|
||||
// Fetch a page full of parent items for this page
|
||||
|
||||
$r = q("SELECT item.id AS item_id FROM item
|
||||
$r = q("SELECT distinct item.id AS item_id FROM item
|
||||
left join abook on item.author_xchan = abook.abook_xchan
|
||||
WHERE item.uid = %d AND item.item_restrict = 0
|
||||
AND item.parent = item.id
|
||||
|
||||
Reference in New Issue
Block a user