﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31705	"Bad way to select default filter parameter from ""n total"" link"	Compro Prasad	nobody	"To `n total` link is shown in Django Admin panel beside the search button at the top of the list view page. When you click on this link all the filters are cleared in order to show all the values.

The issue happens when you change the default filter behavior when rendering the list. I followed https://stackoverflow.com/questions/851636/default-filter-in-django-admin#answer-16556771 which works fine for a default filter but breaks the `n total` link.

For example, if there are a total of 5 records and the default filter shows only 2 of them then clicking on `n total` link will also show only 2 of them.

[[https://pasteboard.co/JcZR5zK.png]] - Default list view

[[https://pasteboard.co/JcZRDpr.png]] - After clicking on 5 total link. Notice the change in URL. This should show all the records but it doesn't

Currently I haven't found a simple builtin way to fix this without actually changing the template."	Bug	closed	contrib.admin	3.0	Normal	invalid	django,admin,filter,search,link		Unreviewed	0	0	0	0	0	0
