]> git.mxchange.org Git - friendica.git/commitdiff
fix message ordering glitch on network page
authorFriendika <info@friendika.com>
Fri, 23 Sep 2011 12:03:12 +0000 (05:03 -0700)
committerFriendika <info@friendika.com>
Fri, 23 Sep 2011 12:03:12 +0000 (05:03 -0700)
mod/network.php

index c168f96ebb92278bde73dd5a812f1072b4fe5144..dd22e7d5b5295cca8ef8abf1e65e8f9a0812634a 100644 (file)
@@ -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)
                        );