From cea11c94984f0f824bc5f1da260bd8ee4ea109cd Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 3 Nov 2013 15:20:40 -0800 Subject: make date order the default for the directory --- mod/dirsearch.php | 2 +- 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 @@ -- cgit v1.2.3