Did you ever get to the bottom of this? I have a similar problem. In my case the items do no have a category, I tried adding a catid field to their table and setting them all to 1 but it still threw errors.
So then I tried writing my own simplified version of saveorder() in the model but it seems that the pks[] and order[] arrays that are passed are always empty although if I show them in the view they are being correctly populated and the order[] values are being updated on drag-drop.
The model override of saveorder() is being called correctly by SaveOrderAjax() in the controller but no values are passed, so I guess the javascript is not posting them?
So then I tried writing my own simplified version of saveorder() in the model but it seems that the pks[] and order[] arrays that are passed are always empty although if I show them in the view they are being correctly populated and the order[] values are being updated on drag-drop.
The model override of saveorder() is being called correctly by SaveOrderAjax() in the controller but no values are passed, so I guess the javascript is not posting them?
Statistics: Posted by rogerco — Sun Sep 08, 2024 6:17 am