diff options
-rw-r--r-- | mod/dirsearch.php | 2 | ||||
-rw-r--r-- | view/tpl/dir_sort_links.tpl | 2 |
2 files changed, 2 insertions, 2 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 "; diff --git a/view/tpl/dir_sort_links.tpl b/view/tpl/dir_sort_links.tpl index 58498e4d8..d78aec1f5 100644 --- a/view/tpl/dir_sort_links.tpl +++ b/view/tpl/dir_sort_links.tpl @@ -1,6 +1,6 @@ <div class="widget" id="dir_sort_links"> <h3>{{$header}}</h3> -<a href="directory?f=&order=">{{$normal}}</a><br /> +<a href="directory?f=&order=normal">{{$normal}}</a><br /> <a href="directory?f=&order=reverse">{{$reverse}}</a><br /> <a href="directory?f=&order=date">{{$date}}</a><br /> </div> |