aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-29 20:31:02 -0700
committerfriendica <info@friendica.com>2013-07-29 20:31:02 -0700
commit79dacc3f1ad86aabfc78c0ecb8603720dedd4cfe (patch)
tree691b1c2642b6cdc59f2fb91f54534a6196cc5ed1 /include/conversation.php
parent7b3c29ebe69726f7d42c9327bebb2ea7251bccb4 (diff)
downloadvolse-hubzilla-79dacc3f1ad86aabfc78c0ecb8603720dedd4cfe.tar.gz
volse-hubzilla-79dacc3f1ad86aabfc78c0ecb8603720dedd4cfe.tar.bz2
volse-hubzilla-79dacc3f1ad86aabfc78c0ecb8603720dedd4cfe.zip
fix some weirdness on the zot feed
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)