Developer forum

Forum » Ecommerce - Standard features » Facets with special characters

Facets with special characters

Cátia Torego
Reply

I have some facets with a special character (the inches character) and we can't filter by it if we want it to also display in the label.

If the field is Analyzed

I can filter by the value without the inches character, but the label is also missing it

If the field is not Analyzed

The inches character is in the label like we need, but the value doesn't have it and it doesn't filter without it

I can encode the value like it's being done with the lable to get it to work, but Is there a way to have the inches character in both the value and the label by just changin the settings? 

value="@(HtmlEncoder.HtmlEncode(optionValue))"

 

DW version 9.15.13
Swift templates

 

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Encoding the value is the right way and you have to use non-analyzed fields for these kind of values.

If encoding is missing from our templates, we can fix that.

Votes for this answer: 1
 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi,

I looked at this with a developer and we need to find out if there is a backend issue here, so I have created a task for a further investigation by a backend developer. The task has the number: 16365.

Kind regards,
Merethe
QA

 

 

You must be logged in to post in the forum