aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-23 05:03:12 -0700
committerFriendika <info@friendika.com>2011-09-23 05:03:12 -0700
commit7ea6b0a1264ec0c1cdb18a82b6a4f11e570f0e83 (patch)
tree7cd90ea2720f4844c7b5fa7db5d39c1cfdf7a4c6
parent477ba8e574994b2e8ec4ea5694dab0a92e0c004d (diff)
downloadvolse-hubzilla-7ea6b0a1264ec0c1cdb18a82b6a4f11e570f0e83.tar.gz
volse-hubzilla-7ea6b0a1264ec0c1cdb18a82b6a4f11e570f0e83.tar.bz2
volse-hubzilla-7ea6b0a1264ec0c1cdb18a82b6a4f11e570f0e83.zip
fix message ordering glitch on network page
-rw-r--r--mod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index c168f96eb..dd22e7d5b 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -358,7 +358,7 @@ function network_content(&$a, $update = 0) {
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
AND `item`.`parent` = `parentitem`.`id` AND `item`.`parent` IN ( %s )
$sql_extra
- ORDER BY `parentitem`.$ordering DESC, `item`.`gravity` ASC, `item`.`created` ASC ",
+ ORDER BY `parentitem`.$ordering DESC, `parentitem`.`id` ASC, `item`.`gravity` ASC, `item`.`created` ASC ",
intval(local_user()),
dbesc($parents_str)
);