We have built a custom knowledge base for our client. We have search enabled and users can search for KB articles. Client wants us to pass search query which lead user to that particular article.
How can I pass query which was performed to item which user clicked in search results page?