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 website search issue #5587

Merged
merged 2 commits into from
Oct 28, 2022
Merged

Conversation

antgamdia
Copy link
Contributor

Description of the change

This PR is a hotfix for a bug introduced at #5579: the searchbox init code was moved to a static folder, which is unable to retrieve the values from the site params. Therefore, the API key is literally .Site.Params.docs_search_api_key instead of the replaced value.

Also, squeezing a minor fix to prevent Kubeapps Kubeapps ... to appear in the descriptions.

Benefits

Search will work again

Possible drawbacks

N/A

Applicable issues

N/A

Additional information

N/A

@netlify
Copy link

netlify bot commented Oct 28, 2022

Deploy Preview for kubeapps-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8f43296
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/635bbab07ba42a000936e9b3
😎 Deploy Preview https://deploy-preview-5587--kubeapps-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antgamdia
Copy link
Contributor Author

Rubber stamping as the fix works in the preview:

image

@antgamdia antgamdia merged commit 0d89628 into vmware-tanzu:main Oct 28, 2022
@antgamdia antgamdia deleted the hotfix-website-search branch October 28, 2022 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants