Gravatar for kevin.bernaerts@amplexor.com

Question by kevin bernaerts, Jun 6, 2014 8:52 AM

data-enable-history only seems to work the second time I launch a query

I have the data-enable-history option set to true on my root SearchInterface Component, however, when I load the search page and I enter a query and click on "search" (or I press the enter key) the url doesn't get automatically appended with the query details. It's only from the second time I click "search" (or press enter) that the url changes to something like: myresultspage.aspx#q=kampagne&first=0&t=All&sort=relevancy

Is this a Coveo bug?

<div id="search" class="CoveoSearchInterface" data-enable-history="true" data-hide-until-first-query="false" data-auto-trigger-query="false" data-hidden-expression="@syssource==mySource">
Gravatar for apare@coveo.com

Comment by Alexandre Paré, Jun 6, 2014 9:29 AM

Yes, it seems to be caused by the data-auto-trigger-query="false" option. I will notify you when the fix will be ready.

1 Reply
Gravatar for apare@coveo.com

Answer by Alexandre Paré, Jun 6, 2014 2:48 PM

I made a fix for this problem. It will be in the build in 1 week (16 june 2014).

Gravatar for apare@coveo.com

Comment by Alexandre Paré, Jun 16, 2014 1:17 PM

the build have been reported to 18th june

Gravatar for apare@coveo.com

Comment by Alexandre Paré, Jul 4, 2014 8:43 AM

did you still have the problem with this build?

Ask a question