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

Fixes issue with the search input box always taking the user to default language page #1904

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjyabraham
Copy link

@cjyabraham cjyabraham commented Mar 24, 2024

Fixes issue with the search input box always taking the user to the default language search results (#1558)

The problem was that the js script had no knowledge of the current language and so always redirected the user to the default language page. Here I'm passing the correct search results page in to the script from a data element on the search input box.

…efault language search results (google#1558)

Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
Copy link

google-cla bot commented Mar 24, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@chalin chalin added this to the 24Q2 milestone May 1, 2024
@chalin chalin mentioned this pull request May 1, 2024
19 tasks
@chalin
Copy link
Collaborator

chalin commented May 1, 2024

Thanks for this PR @cjyabraham. FYI, this is still on the radar. I'll add it as a candidate to release 0.11.0 (#1944). Docsy 0.10.0 is just hot off the press! 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants