mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
#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
This commit is contained in:
parent
32ae7a9b7a
commit
e5783909fe
@ -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 .= '<ul>';
|
||||
|
Loading…
Reference in New Issue
Block a user