Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Don't refresh on topic search result click #24697

Merged
merged 2 commits into from Dec 4, 2023

Conversation

janzenisaac
Copy link
Contributor

@janzenisaac janzenisaac commented Dec 4, 2023

Fixes an issue where when selecting a topic search result we were refreshing the page rather than letting DiscourseURL redirect us to the given topic. This was because we were leaning on a a tag and it's href to handle the redirect

rather than preventDefault'ing the redirect

@janzenisaac janzenisaac merged commit b9110c5 into main Dec 4, 2023
18 of 19 checks passed
@janzenisaac janzenisaac deleted the fix-full-redirect-on-search-result-click branch December 4, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants