Search context incorrect after using back button or clicking category


(lid) #1

How to reproduce:

  1. go to a cateogry
  2. select a topic
  3. hit CTRL+F
  4. click on the category label on the top of the screen or hit the back button
  5. hit CTRL+F again

search box without the Search the “bug” category

Expecting


(Dave McClure) #4

FWIW, I can repro this by just clicking on the search icon in steps (3) and (5).


(Sam Saffron) #6

This is a routing bug, on back button context is not being set on search.


(Sam Saffron) #7

This is now fixed

https://github.com/discourse/discourse/commit/b143b6451101d1488a39d03fefe0f5e96cf21ee6


(Sam Saffron) #8