Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Order Reverses When Enabling 'Allow drag & drop reordering'


Go to End


2 Posts   1248 Views

Avatar
timwjohn

Community Member, 98 Posts

20 August 2010 at 1:34am

Hi UC/All,

I don't know why, but my ImageDataObjectManager was behaving strangely whereby it would reverse the sort order of my Images when I either enable 'Allow drag & drop reordering' or move the image size slider.

I remedied this by passing 'ORDER BY SortOrder' as the $sourceSort parameter.

I'm sure I've never had to do this before though.

(I'm using the latest SilverStripe version in the 2.4 branch)

Avatar
UncleCheese

Forum Moderator, 4102 Posts

20 August 2010 at 2:52am

Yup. Working on it now.