new item view, sort by received date - not posted date.

This commit is contained in:
Friendika
2011-06-23 17:56:59 -07:00
parent 2bc4e24da2
commit 38cf37d3c3
6 changed files with 20 additions and 8 deletions

View File

@@ -212,7 +212,7 @@ function network_content(&$a, $update = 0) {
AND `contact`.`id` = `item`.`contact-id`
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
$sql_extra
ORDER BY `item`.`created` DESC LIMIT %d ,%d ",
ORDER BY `item`.`received` DESC LIMIT %d ,%d ",
intval($_SESSION['uid']),
intval($a->pager['start']),
intval($a->pager['itemspage'])