|
|
|
@ -202,7 +202,7 @@ function network_content(&$a, $update = 0) {
|
|
|
|
|
// "New Item View" - show all items unthreaded in reverse created date order
|
|
|
|
|
|
|
|
|
|
$r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
|
|
|
|
|
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
|
|
|
|
|
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`, `contact`.`writable`,
|
|
|
|
|
`contact`.`network`, `contact`.`thumb`, `contact`.`dfrn-id`, `contact`.`self`,
|
|
|
|
|
`contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid`
|
|
|
|
|
FROM `item`, `contact`
|
|
|
|
@ -246,7 +246,7 @@ function network_content(&$a, $update = 0) {
|
|
|
|
|
$parents_str = implode(', ', $parents_arr);
|
|
|
|
|
|
|
|
|
|
$r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
|
|
|
|
|
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
|
|
|
|
|
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`, `contact`.`writable`,
|
|
|
|
|
`contact`.`network`, `contact`.`thumb`, `contact`.`dfrn-id`, `contact`.`self`,
|
|
|
|
|
`contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid`
|
|
|
|
|
FROM `item`, (SELECT `p`.`id`,`p`.`created` FROM `item` AS `p` WHERE `p`.`parent`=`p`.`id`) as `parentitem`, `contact`
|
|
|
|
|