diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-03-26 18:07:28 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-03-26 18:07:28 +0100 |
commit | 5019671cf2bba2202c0024f3bd309fe674251226 (patch) | |
tree | 720aa7ca861f9ccc3216a8fff9e730a26a8eab6c /app/class/Media.php | |
parent | 633076d7c9275b33b722d9a7989e63839f8c38d2 (diff) | |
download | wcms-5019671cf2bba2202c0024f3bd309fe674251226.tar.gz wcms-5019671cf2bba2202c0024f3bd309fe674251226.zip |
sort media by date and ext fix #67
Diffstat (limited to 'app/class/Media.php')
-rw-r--r-- | app/class/Media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Media.php b/app/class/Media.php index ad36b8e..f29d2c9 100644 --- a/app/class/Media.php +++ b/app/class/Media.php @@ -174,7 +174,7 @@ class Media extends Item } } - public function date($option = 'string') + public function date($option = 'date') { return $this->datetransform('date', $option); } |