From: Friendika Date: Mon, 28 Mar 2011 02:59:27 +0000 (-0700) Subject: wrong date order profile page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b57214cb783ca2f741760a2ccfbd01babfbd165b;p=friendica.git wrong date order profile page --- diff --git a/mod/profile.php b/mod/profile.php index 9544512bab..8fb483007f 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -260,7 +260,7 @@ function profile_content(&$a, $update = 0) { AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `item`.`id` = `item`.`parent` AND `item`.`wall` = 1 $sql_extra - LIMIT %d ,%d ", + ORDER BY `item`.`created` DESC LIMIT %d ,%d ", intval($a->profile['profile_uid']), intval($a->pager['start']), intval($a->pager['itemspage'])