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

Algolia DocSearchPage doesn't inherit searchParameters #4221

Closed
csestito opened this issue Feb 12, 2021 · 1 comment
Closed

Algolia DocSearchPage doesn't inherit searchParameters #4221

csestito opened this issue Feb 12, 2021 · 1 comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@csestito
Copy link

🐛 Bug Report

The search parameters e.g. facets passed into searchParameters are used for the SearchBar, but don't carry over to the DocSearchPage.

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

  1. Add a facet to searchParameters to algolia in docusaurus config'
  2. Search in Search Bar
  3. Click view all
  4. See filter is not run on the search page

Expected behavior

any searchParameters specified in the config would carry over to the DocSearchPage

Actual Behavior

No searchParameters were used on the DocSearchPage

Your Environment

Reproducible Demo

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

https://codesandbox.io/s/magical-mclaren-byg9e?file=/docusaurus.config.js

@csestito csestito added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Feb 12, 2021
@slorber
Copy link
Collaborator

slorber commented Feb 15, 2021

Yes you are right

Duplicate of #3805

@slorber slorber closed this as completed Feb 15, 2021
@Josh-Cena Josh-Cena removed the status: needs triage This issue has not been triaged by maintainers label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

No branches or pull requests

3 participants