summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2019-04-02 11:04:07 +0100
committerPhil Burton <phil@d3r.com>2019-04-02 11:32:30 +0100
commit856c953060c89b8c76b637d0e6d2fe11f3ca8b58 (patch)
tree69902350cd6375df54ca19985fd76173395bce36
parent919a300bd993feb9ecb518f226c4d8d0882b7ff6 (diff)
Sort default by descending
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 754c5ed..8de2218 100644
--- a/index.php
+++ b/index.php
@@ -96,7 +96,7 @@ $modifiedurl = "?C=M;O=A";
$sizeurl = "?C=S;O=A";
// Set default sort
-$sort = ['M', 'A'];
+$sort = ['M', 'D'];
if (isset($_GET['C'])) {
$sort = preg_split("/;O=/", $_GET['C']);