Opened 2 years ago

Closed 2 years 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 2 years ago by Baptiste Mispelon

Triage Stage: UnreviewedAccepted

Good point!

comment:2 Changed 2 years ago by Tim Graham

Component: Documentation*.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 2 years 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 2 years ago by Tim Graham

Resolution: fixed
Status: newclosed

Fixed by deleting the old DocumentRelease objects in the database.

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