summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2019-04-02 11:03:20 +0100
committerPhil Burton <phil@d3r.com>2019-04-02 11:03:20 +0100
commit919a300bd993feb9ecb518f226c4d8d0882b7ff6 (patch)
treee0aa80653bf7a56bdfc1c6ebef576f18a5b8d1f6 /index.php
parent840fcad8b08b266b1c350d46db8e22ea07367902 (diff)
Switch to use date as default sort
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index fec487b..754c5ed 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 = ['S', 'A'];
+$sort = ['M', 'A'];
if (isset($_GET['C'])) {
$sort = preg_split("/;O=/", $_GET['C']);