I have a problem with the search API function. The first time I enter the keyword into the search field which will show the results and the URL like this for example: www.avc.com/avs/search/search-content?keys=city If I enter the new keyword to search (ex: search for "water", it will show the result, but the URL does not change the keyword. When you click on any result and then click go back it will go to the first search (city). How can I make the URL change the keyword?

  • You probably have use ajax enabled for the view. This works faster than reloading the page. Turning it off should make the page reload with a new URL/search term. – CG Monroe Jun 18 '19 at 21:26
  • Thanks, I got it worked now. – Linh Nguyen Jul 3 '19 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.