typesense / typesense/docusaurus-theme-search-typesense

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

Open
#30 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
84
Forks
24
Avg merge
1m
Merged PRs (30d)
1

Description

Description

When I use the search box for a second time it fails to reload the search.

Steps to reproduce

  1. Go to home
  2. Search for content using search bar
  3. Scroll to bottom results link
  4. Select results link and view all results
  5. Use the search bar for another term
  6. Scroll to bottom results link
  7. Select results link and view
  8. Repeat 5-7

Expected Behavior

New results will show for the new search terms

Actual Behavior

Old results from first search term continue to show

Metadata

Typesense Version: 0.9.0 (docusaurus-theme-search-typesense)

OS:
Windows Chrome 109.0.5414.120 (Official Build) (64-bit)
search-bug.webm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the search-bar flow from the listed steps, then trace how the first query is passed to the results link and SearchPage. Check the state or query handling for subsequent searches. Done means each new search term loads matching results instead of retaining the first search.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.