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:
friendica
2013-02-04 17:46:04 -08:00
parent ff0a73bf40
commit da388f4bc5
4 changed files with 11 additions and 8 deletions

View File

@@ -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