aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 66f9a6f4c..9f8ff6a86 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -131,7 +131,7 @@ function dirsearch_content(&$a) {
}
- if($sort_order == 'date')
+ if($sort_order == 'normal')
$order = " order by xchan_name_date desc ";
elseif($sort_order == 'reverse')
$order = " order by xchan_name desc ";