Renamed the Items array that is sent in post #7

Merged
merged 1 commit into from Sep 10, 2012

2 participants

@sheadawson

Renamed the Items array that is sent in post, as it was being overriden by another postvar called Items, containing GridState data. The array of Item Ids used by SortableGridField is now called ItemIDs.

I came across this problem when using my DynamicLists module. I followed your exact HasManyExample but, do let me know if you think it was something I was doing wrong and not something that needed changing on your module ;)

http://github.com/sheadawson/silverstripe-dynamiclists/

Shea BUGFIX renamed the Items array that is sent in post, as it was being …
…overriden by another postvar called Items, containing GridState data. The array of Item Ids used by SortableGridField is now called ItemIDs
04c4965
@UndefinedOffset UndefinedOffset merged commit 04c4965 into UndefinedOffset:master Sep 10, 2012
@UndefinedOffset

Thanks I hadn't noticed this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment