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.

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   1243 Views


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)


Forum Moderator, 4102 Posts

20 August 2010 at 2:52am

Yup. Working on it now.