K2 Filter & Search module removes article content on refresh

Please Log in or Create an account to join the conversation.

#
I have an article with the K2 Filter & Search module inserted as a module. It works great and displays the results fine. But if I refresh the page, all the article content (article title, article body) is removed and I end up with only the search results (item) and the module. Is there a way to make it so it reloads the page with the article content and the module?

Please Log in or Create an account to join the conversation.

#
Hello, Michael.

Yes, it is because after you make search, it updates a page url for search results link.

If you don't need it, you can modify it in this file - modules\mod_k2_filter\tmpl\Default\elements\ajax_results.php

Find and remove all lines starting with history.pushState

Please Log in or Create an account to join the conversation.

#
That worked perfect - thanks for the quick service!