Re: [Django] #31705: Bad way to select default filter parameter from "n total" link

4 views
Skip to first unread message

Django

unread,
Jun 16, 2020, 3:14:20 AM6/16/20
to django-...@googlegroups.com
#31705: Bad way to select default filter parameter from "n total" link
-------------------------------------+-------------------------------------
Reporter: Compro Prasad | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
django,admin,filter,search,link | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* status: new => closed
* resolution: => invalid


Comment:

Sorry, I can't see that this is supported usage.

You've filtered the default queryset, so when that queryset is used, the
results will be filtered. If you want to show all results you can't filter
the queryset. (No doubt with enough machinations what you're trying to do
would be possible…)

--
Ticket URL: <https://code.djangoproject.com/ticket/31705#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages