aboutsummaryrefslogtreecommitdiff
path: root/app/class/Medialist.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-03-22 16:55:06 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-03-26 17:42:01 +0100
commit633076d7c9275b33b722d9a7989e63839f8c38d2 (patch)
treeb1ca9757d512da3669d6419b653cdc7a1d5c5bd0 /app/class/Medialist.php
parentcfd04f2ecedf57f01cbb3c47a3ee0578d07ccec4 (diff)
downloadwcms-633076d7c9275b33b722d9a7989e63839f8c38d2.tar.gz
wcms-633076d7c9275b33b722d9a7989e63839f8c38d2.zip
media date display
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'];