1
1
Fork 0

Bugfix: The network update after a post now works again

This commit is contained in:
Michael 2018-02-27 06:28:53 +00:00
parent 16a55a021c
commit 15cd4792b8

View file

@ -764,7 +764,7 @@ function networkThreadedView(App $a, $update = 0)
} else {
$sql_extra4 = '';
}
$r = q("SELECT `item`.`uri`, `item`.`parent` AS `item_id`, $sql_order AS `order_date`
$r = q("SELECT `item`.`parent-uri` AS `uri`, `item`.`parent` AS `item_id`, $sql_order AS `order_date`
FROM `item` $sql_post_table
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
AND (NOT `contact`.`blocked` OR `contact`.`pending`)