Navigating via a sub-category mention then unable to go back

If you navigate to a sub-category via a sub-category mention you are then unable to use the browsers back / previous page navigation to return to the page you clicked the link on.

Steps to Reproduce

  1. Select a sub-category mention i.e. #feature:spec
  2. Select the browsers back button or use keyboard navigation — Alt +

Expected Result

To return to the page you clicked the category mention link on (the one that contained #feature:spec )

Actual Result

See “spec” topics list refresh.

4 Likes

Redirect is the culprit here… I’ll take this.

1 Like

Fixed
https://github.com/discourse/discourse/commit/8772ba2f80a9c196c02fefb4899b4da6e7ffe543

Thanks for reporting @DeanMarkTaylor :slightly_smiling:

4 Likes