Gravatar for

Question by jfvalois, Jul 30, 2014 12:55 PM

Can't use back on IE and Firefox

Currently, when a user do a search with Chrome, he can use the back to return to his previous page. On internet explorer or Firefox, the search page seems to be triggered twice and the user can't use the back button.

Is this the normal behavior?

Example : User call /CoveoJsSearch/Search.html. Page load and redirect to CoveoJsSearch/Search.html#t=All&sort=relevancy. If user click back, this will re-trigger the search.


Gravatar for

Comment by Martin Laporte, Jul 30, 2014 1:39 PM

It's certainly an undesired behavior, and it seems we might be able to work around that. I've opened an issue; we're looking into it right away.

1 Reply
Gravatar for

Answer by Martin Laporte, Aug 1, 2014 3:37 PM

That issue was fixed yesterday and will be in the next release in about a week. In theory the snapshot build should already have the fix (available here:

Gravatar for

Comment by jfvalois, Aug 21, 2014 8:54 AM

The problem was resolved on the snapshot but there is a problem with the official build.

If we do a new search, with keyword "Test", here's what happen: "#q=test&firstQueryMeta=%5Bobject%20Object%5D" redirect to "#q=test"

Since there's the middle page with the firstQueryMeta,I can go back to my previous page if i click back twice. There's no redirect on the first back.

Do we need to add a parameter or any configuration to get rid of that firstQueryMeta=[Object Object]?


Gravatar for

Comment by Alexandre Paré, Aug 21, 2014 11:15 AM

This is a bug we currently have. I have fixed this problem and added it to a patched version of the js file that you can try.

This will be in the official september build.

Gravatar for

Comment by jfvalois, Aug 22, 2014 8:27 AM

I get "Page Not Found" when i click on the link

Ask a question