diff options
author | Phil Burton <phil@d3r.com> | 2019-04-02 11:01:48 +0100 |
---|---|---|
committer | Phil Burton <phil@d3r.com> | 2019-04-02 11:01:48 +0100 |
commit | 840fcad8b08b266b1c350d46db8e22ea07367902 (patch) | |
tree | b2798e6d18b6cc52d24839fb67e5f1f43e14a6d5 | |
parent | b57bb1e8bb5fabcba4a2b584f08310c4479d5e6f (diff) |
Add default sort back
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,9 @@ $nameurl = "?C=N;O=A"; $modifiedurl = "?C=M;O=A"; $sizeurl = "?C=S;O=A"; +// Set default sort +$sort = ['S', 'A']; + if (isset($_GET['C'])) { $sort = preg_split("/;O=/", $_GET['C']); if ($_GET['C'] == "N;O=A") { |