From e5783909fe261e7d7ef787d861114ae17f17e063 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Thu, 15 Nov 2007 22:45:11 +0000 Subject: [PATCH] #1786 - Image insert sidepanel: What happened to the sorting? (merged from branches/2.2.0, r44844) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44922 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ThumbnailStripField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ThumbnailStripField.php b/code/ThumbnailStripField.php index f575f384..50f7eff5 100755 --- a/code/ThumbnailStripField.php +++ b/code/ThumbnailStripField.php @@ -48,7 +48,7 @@ class ThumbnailStripField extends FormField { array_unshift($folderList, $folder->ID); - $images = DataObject::get("Image", "ParentID IN (" . implode(', ', $folderList) . ")","Created"); + $images = DataObject::get("Image", "ParentID IN (" . implode(', ', $folderList) . ")","Title"); if($images) { $result .= '