Opened 9 months ago

Closed 4 months ago

#23042 closed Cleanup/optimization (fixed)

Pre-1.4 docs are gone but are still in the search dropdown

Reported by: ses1984@… Owned by: nobody
Component: *.djangoproject.com Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

When viewing the online django docs, on the right hand side there's a search form with a drop down that still contains pre-1.4 versions, but those docs no longer exist on the site.

The drop down HTML element is --

<select id="id_sidebar_search_release" name="release">

I guess it should not contain choices for versions of docs that are no longer on the site.

Change History (5)

comment:1 Changed 9 months ago by bmispelon

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Good point!

comment:2 Changed 9 months ago by timo

  • Component changed from Documentation to *.djangoproject.com
  • Easy pickings unset

Off the top of my head, I'm not sure what prevents those version of the docs from being created.

comment:3 Changed 9 months ago by anonymous

1.3 works for me https://docs.djangoproject.com/search/?q=test&release=5
1.2 docs are indexed in the docs.djangoproject.com search and in Google but the url does not work.

comment:5 Changed 4 months ago by timgraham

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by deleting the old DocumentRelease objects in the database.

Note: See TracTickets for help on using tickets.
Back to Top