Opened 7 years ago
Closed 6 years ago
#2984 closed defect (bug) (fixed)
AJAX modified search results not available in browser history
Reported by: | ritterml | Owned by: | obenland |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
- I visit https://wordpress.org/support/
- I type "wordpress theme" in search form box
- I see a new page with results at URL https://wordpress.org/search/wordpress+theme/?forums=1
- I type "development" at end of search form box
- I see updated results
- I click a link in the results
- I navigate back in browser
- I _EXPECT TO_ see my updated search query as in step 5
- Instead, I see results from step 3
Problem: AJAX-modified search query not saved in URL or captured for browser navigation
Note: See
TracTickets for help on using
tickets.
Hi @ritterml, welcome to Meta Trac!
The search functionality on that page is a Google Custom Search implementation, and they do offer a way to enable browser history but we're limited to the way they handle things. In testing I found out that while they'll trigger a new search with the initial search term after navigating back from an external site, all subsequent searches are still in history and can be accessed.