Alan Guo Xiang Tan b4eb078b0e
FIX: Preserve preview_theme_id param on topic redirects (#23965)
Why this change?

When the URL `/t/1234?preview_theme_id=21` is loaded, we redirect to
`/t/<topic slug>/1234` stripping the `preview_theme_id` query params.

What does this change do?

This change builds on 61248652cdbcc04cecccad939c53139a73b5313d and
simply adds the `preview_theme_id` query param when redirecting.
2023-10-19 09:32:56 +08:00
..