PDA

View Full Version : [OPEN] [FIXED] Sort parameter in json is sent as string?



jash
29 Mar 2011, 10:36 AM
The folliwing situation:

GidPanel
Ext.direct - CRUD

on .read operation:

{"action":"Affiliation_Company","method":"read","data":[{"page":2,"start":25,"limit":25,"sort":"[{\"property\":\"FullName\",\"direction\":\"ASC\"}]"}],"type":"rpc","tid":5}

is send out to the server. note that in "data" sort is a STRING not a LIST

could not find anything about it and thought to pass it on, hope it helps!

Jash

evant
29 Mar 2011, 11:59 AM
I made a commit for this a couple of days ago, it will send them as normal JSON.

jash
29 Mar 2011, 12:32 PM
Check;)