Move sort by name to ML simple filter (#157)

This commit is contained in:
onli 2014-05-25 22:05:29 +02:00
parent c291c5166d
commit ad8606c782
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,8 @@
Version 2.0-beta3 ()
------------------------------------------------------------------------
* Move sort by name to simple filter in ML, replace file extension
* Remember selected media library folder
* Show upload-success or error with the ajax image uploader

View File

@ -1977,9 +1977,8 @@ function serendipity_getImageFields() {
'type' => 'date'
),
'i.extension' => array('desc' => SORT_ORDER_EXTENSION
'i.name' => array('desc' => SORT_ORDER_NAME
),
);
} else {
@ -1989,7 +1988,7 @@ function serendipity_getImageFields() {
'type' => 'date'
),
'i.name' => array('desc' => SORT_ORDER_NAME
'i.extension' => array('desc' => SORT_ORDER_EXTENSION
),
'i.authorid' => array('desc' => AUTHOR,