-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
When there were pushes (or pulls) as well as elements being reordered,
save would only push (or pull) elements. The changed order of the other
elements were lost.
With this change, checking is done to ensure that we only push when the
new elements are at the end, and pull when the remaining element's order
has not changed.
Noticed that this behavior was not quite right when looking at the fix for
mongoid/mongoidMONGOID-1706.