aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:18:14 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:18:14 +0200
commitf09ac4e5972a77dfe73338ee207e40ec463355e9 (patch)
tree77232d70031622a162f4e00aec128961ecc7a764 /include/conversation.php
parent9294f72adb3c076932558b6f29a4c570e7962764 (diff)
downloadvolse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.gz
volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.bz2
volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.zip
Revert "Revert "merge""
This reverts commit 9294f72adb3c076932558b6f29a4c570e7962764.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 1023c068d..61b563a5d 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1128,6 +1128,8 @@ function conv_sort($arr,$order) {
usort($parents,'sort_thr_created');
elseif(stristr($order,'commented'))
usort($parents,'sort_thr_commented');
+ elseif(stristr($order,'ascending'))
+ usort($parents,'sort_thr_created_rev');
if(count($parents))
foreach($parents as $i=>$_x)