Gravatar for

Question by jakebb, Apr 13, 2015 11:55 AM

How to select facet values that contains special characters from the querystring

I am using something similar to what mlaporte posted in another question:

$('#searchBox').coveo('state', 'f:@hproduct', ['etapestry','fundware']);

but how do I format something that has spaces or other characters? We have another product called: "Altru Arts & Cultural" that I'd like to add to the array.

When I have spaces in the array items, the search doesn't complete. When I use %20 for spaces, it doesn't encode them properly.


Gravatar for

Comment by Jean-François L'Heureux, Apr 14, 2015 9:41 AM

I converted the question you added as an answer to an existing question to a separate question thread to keep things organized and clean. This is not a discussion forum. Each question should be in its own thread.


0 Reply
Ask a question