Opened 8 years ago

Closed 8 years ago

#14537 closed defect (wontfix)

dojo.store.JsonRest + sortParam - url encoding

Reported by: gerhard presser Owned by: Kris Zyp
Priority: high Milestone: tbd
Component: Data Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description

if you specify a sortParam-Attribute, the sorting-info is serialized as request-parameters. e.g.:

store.query(...
{
sort:[{attribute:'test',descending:false}]
}...);

this results in:

http://...{target}?sortAttr=+test

unfortunately, the + sign represents a blank inside an url - so if I fetch the parameter-value in my java-servlet-method, i get ' test'.

Change History (2)

comment:1 Changed 8 years ago by bill

Component: GeneralData
Owner: set to Kris Zyp

comment:2 Changed 8 years ago by Kris Zyp

Resolution: wontfix
Status: newclosed

If that is the case, you should be able to do parameterValue.charAt(0) == ' ' in Java to detect ascending order.

Note: See TracTickets for help on using tickets.