7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Order Reverses When Enabling 'Allow drag & drop reordering'
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 775 Views |
-
Order Reverses When Enabling 'Allow drag & drop reordering'

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)
-
Re: Order Reverses When Enabling 'Allow drag & drop reordering'

20 August 2010 at 2:52am
Yup. Working on it now.
| 775 Views | ||
|
Page:
1
|
Go to Top |

