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, biapar, Willr, Ingo, swaiba, simon_w

Order Reverses When Enabling 'Allow drag & drop reordering'


Reply

2 Posts   926 Views

Avatar
timwjohn

20 August 2010 at 1:34am Community Member, 98 Posts

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

20 August 2010 at 2:52am 4085 Posts

Yup. Working on it now.