aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/dirsearch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 9f8ff6a86..08a0bab96 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -132,11 +132,11 @@ function dirsearch_content(&$a) {
if($sort_order == 'normal')
- $order = " order by xchan_name_date desc ";
+ $order = " order by xchan_name asc ";
elseif($sort_order == 'reverse')
$order = " order by xchan_name desc ";
else
- $order = " order by xchan_name asc ";
+ $order = " order by xchan_name_date desc ";
if($sync) {