Addition of format argument to Sortable's serialize function.
Posting here as the jquery.ui tracker seems to be down.
The current implementation of jquery's Sortable serialize uses the php
style format for an array in the query string, as php converts it
directly into an array when receiving it.
?field[]=1&field[]=2
However when not using php, this creates unnecessary work.
Below is a patch which allows the .serialize() to specify the postfix
if wanted - it is backward compatible.
~$ diff ui.sortable.old.js ui.sortable.js
72c72
< if(res) str.push((o.key || res[1])+'[]='+(o.key && o.expression ?
res[1] : res[2]));
---