Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Homepage search redirects to non-latest version of Ember API docs #3528

Closed
patocallaghan opened this issue Aug 24, 2018 · 1 comment
Closed

Comments

@patocallaghan
Copy link
Contributor

patocallaghan commented Aug 24, 2018

Current Behavior

Searching the API from the homepage's search box results in you being redirected to the 3.1 API docs

Expected Behavior

I'd expect the search results to redirect to the latest version of the API docs

Steps to Reproduce

  1. Go to https://www.emberjs.com/
  2. Type "Service" into the search input
  3. Select the top "Services" result from the dropdown
  4. The page redirects to https://guides.emberjs.com/v3.1.0/applications/services/#ember315515

Environment

Chrome 68, macOS High Sierra

I was directed to open an issue from #3296 (comment)

@acorncom
Copy link
Contributor

Thanks @patocallaghan. We've been busy reworking the guides app and missed one line that tied search to the latest version of the guides here (https://github.com/emberjs/website/blob/master/lib/versions.rb#L13). Should have a fix out for that shortly ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants