nuwave / nuwave/lighthouse

Docs search always returns the current version

Open
#1,392 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
Dominant language
PHP
Stars
3.5k
Forks
468
Avg merge
3h 9m
Merged PRs (30d)
2

Description

Describe the bug
In the documentation, the search always returns the current version of the lighthouse (4.12), even if it is changed to the previous version

Expected behavior/Solution

By default the search returns the current version, but it must return the search for the version selected by the visitor

Steps to reproduce

  1. Select a previous version
  2. Search for anything and click on the result

Contributor guide

Open the contributing guide

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

No files or tests are named in the report. Start by reproducing the issue using the documented version selector and search flow, then locate the documentation search entry point and its version handling. Done means results opened from a previous version remain associated with that selected version rather than the current 4.12 version.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, laravel, php
Domain
documentation, 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.