Gravatar for puneetpande@gmail.com

Question by ppande, Apr 28, 2015 1:20 PM

Facet adding parameter to url

Hi,

Is it typical on facet click to append a parameter to the url. I have some facets and when I click on them i notice the url change to: /coveo-search-page#q=test&f:@fcontenttypecustom43119=[Other]

The issue is that if a user then presses enter in the searchblock, they get extra parameter in the search term. Search term in searchblock shows up as "test&f:@fcontenttypecustom43119=[Other]".

alt text

How do i just take the search term and not other parameters?

Thanks!

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Apr 28, 2015 1:44 PM

Hi,

The default search box of the Coveo Search component is not supposed to behave like this. Did you customize the JavaScript code? Do you have a custom search box instead of the default one? Do you have any custom event handlers in the JavaScript code? We need more details about your implementation.

Gravatar for puneetpande@gmail.com

Comment by ppande, Apr 28, 2015 7:13 PM

You're right. There was a customization to CoveoJsSearch.js. We've fixed this. Thank you

Ask a question