Opened 11 years ago
Closed 10 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 11 years ago by
Component: | General → Data |
---|---|
Owner: | set to Kris Zyp |
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
If that is the case, you should be able to do parameterValue.charAt(0) == ' ' in Java to detect ascending order.