BrightNail
10-07-2011, 09:47 PM
Hey, I am using prototypes (library) ajax methods and one of them is properties.
I am passing in the name value pairs:
var itemFilter = "MajorCat: Shoes",
parameters: { q : qry ,fq: itemFilter },
But when I request, it gives me this in the url:
MajorCat%3AShoes
That won't work, the search application on the backend doesn't filter properly because of the "%3A" instead of ":".
When I manually pass in via the url: MajorCat: Shoes (at the end of the query) it works.
So, that ":" is getting encoded. How do I get that IN the hash and make sure the request is unencoded when it goes out?
thanks
I am passing in the name value pairs:
var itemFilter = "MajorCat: Shoes",
parameters: { q : qry ,fq: itemFilter },
But when I request, it gives me this in the url:
MajorCat%3AShoes
That won't work, the search application on the backend doesn't filter properly because of the "%3A" instead of ":".
When I manually pass in via the url: MajorCat: Shoes (at the end of the query) it works.
So, that ":" is getting encoded. How do I get that IN the hash and make sure the request is unencoded when it goes out?
thanks