New indexes for the API

This commit is contained in:
Michael Vogel 2016-07-19 08:43:57 +02:00
commit 8bf7db06db
8 changed files with 24 additions and 17 deletions

View file

@ -224,7 +224,7 @@ function content_content(&$a, $update = 0) {
$simple_update
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
$sql_extra $sql_nets
ORDER BY `item`.`received` DESC $pager_sql ",
ORDER BY `item`.`id` DESC $pager_sql ",
intval($_SESSION['uid'])
);