aboutsummaryrefslogtreecommitdiff
path: root/app/class/Medialist.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Medialist.php')
-rw-r--r--app/class/Medialist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Medialist.php b/app/class/Medialist.php
index ab1dea3..2141d40 100644
--- a/app/class/Medialist.php
+++ b/app/class/Medialist.php
@@ -31,7 +31,7 @@ class Medialist extends Item
/** @var string display the file name of the file */
protected $filename = 0;
- const SORT_BY_FILTER = ['id', 'size', 'type'];
+ const SORT_BY_FILTER = ['id', 'size', 'type', 'date'];
const TYPES = ['image', 'sound', 'video', 'other'];