Gravatar for kevin.bernaerts@amplexor.com

Question by kevin bernaerts, Jun 6, 2014 12:28 PM

autoCorrectedQueryTo label broken

I have configured the following label:

"autoCorrectedQueryTo": "Die Anfrage wurde automatisch zu {0} korrigiert"

(It's German but that shouldn't matter) However, it gets rendered as

Die Anfrage wurde automatisch zu korrigiertKEYWORD

You see, it appends the keyword at the end of the label, not where the placeholder specifies it to be.

Gravatar for olamothe@coveo.com

Comment by olamothe, Jun 10, 2014 10:43 AM

Just to add on this : We release a new version of the JS Search UI every 2 weeks, so you can expect this fix to be available relatively soon.

If you wish to have a quickfix available sooner, don't hesitate to email me directly. I'll send you a snippet of code you can use, which should emulate the real fix temporarily.

Gravatar for mlaporte@coveo.com

Comment by Martin Laporte, Jun 10, 2014 11:43 AM

Btw, just added this page: https://developers.coveo.com/display/JsSearch/Downloading

1 Reply
Gravatar for olamothe@coveo.com

Answer by olamothe, Jun 6, 2014 2:50 PM

Yes, I checked and there was a bug with the code that added the highlighting in the string. It always added the keyword at the end, not where it was supposed to be.

The fix will be in our next release.

Ask a question