Double request to topic json when navigating to a topic


(Sam Saffron) #1

I am noticing double request for topic json being initiated from “topic” and “fromParams”.

The repro is quite simple:

  1. Navigate to a topic from topic list
  2. Click back
  3. Click on topic again and you get 2 json requests to topic just to load it.

@eviltrout can you have a look at this


(Robin Ward) #2

Thanks, looks like at some point I changed the way the subroute triggered a refresh and it made the explicit refresh unnecessary:

https://github.com/discourse/discourse/commit/8fa109638be643e2cbd5879c2f3d1e50998a6568


(Régis Hanol) #3