Skip to content

Search bar results link and SearchPage don't load new results after first view #8755

Closed

Description

@dtlhlbs

Have you read the Contributing Guidelines on issues?

Prerequisites

Description

The See all n results link at the bottom of the search modal from the search bar doesn't load new search results if the SearchPage is already loaded.

Reproducible demo

No response

Steps to reproduce

  1. Go to https://docusaurus.io/
  2. Search for "Admonition" using search bar
  3. Scroll to bottom of modal to the See all n results link
  4. Select results link and view all results
  5. Open the search bar on the top right and search for "Blog"
  6. Scroll to bottom of modal to the See all n results link
  7. Select results link and view all results

Expected behavior

URL changes to https://docusaurus.io/search?q=blog
Results for "Blog" would be displayed on the search results page

Actual behavior

URL changes to https://docusaurus.io/search?q=blog
Results for "Admonition" are still displayed

Your environment

https://docusaurus.io

Self-service

  • I'd be willing to fix this bug myself.

Activity

  1. added
    bug
    status: needs triage
    on Mar 9, 2023
  2. slorber commented on Mar 10, 2023

    @slorber
    Collaborator

    Thanks, will be fixed in #8757

  3. removed
    status: needs triage
    on Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions