From 66d0825a67a83f158cdf1f7bec53a71727adeeec Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 26 May 2014 18:40:33 +0200 Subject: [PATCH] Re-add sort by name to ML non-simple filter. When replacing 'sort by extension' with 'sort by name' in simple filter mode, 'sort by name' was erroneously removed from non-simple filter mode too (and replaced by a second incarnation of 'sort by extension'). Signed-off-by: Thomas Hochstein --- include/functions_images.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 1154c6c6..2ea089a2 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -1988,7 +1988,7 @@ function serendipity_getImageFields() { 'type' => 'date' ), - 'i.extension' => array('desc' => SORT_ORDER_EXTENSION + 'i.name' => array('desc' => SORT_ORDER_NAME ), 'i.authorid' => array('desc' => AUTHOR,