Opened 16 years ago

Closed 13 years ago

#9119 closed New feature (fixed)

[patch] Admin change list does not allow custom get parameters

Reported by: fas Owned by: fas
Component: contrib.admin Version: 1.0
Severity: Normal Keywords: admin, query, get, parameter, filter
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In customizing the admin list behaviour, one is restricted to not using any GET parameters as all of them are passed to the queryset filter method as field lookups. Custom get parameters would be necessary, for example, to add custom filters with are not based on model fields lookups.

Attachments (1)

ignore_non_field_params_against_9066.diff (1.0 KB ) - added by fas 16 years ago.
Only use field lookup parameters to filter the results, ignore others.

Download all attachments as: .zip

Change History (7)

comment:1 by fas, 16 years ago

Status: newassigned

by fas, 16 years ago

Only use field lookup parameters to filter the results, ignore others.

comment:2 by fas, 16 years ago

Needs tests: set

comment:3 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:4 by Jacob, 16 years ago

Triage Stage: UnreviewedDesign decision needed

comment:5 by Luke Plant, 14 years ago

Severity: Normal
Type: New feature

comment:6 by Julien Phalip, 13 years ago

Easy pickings: unset
Resolution: fixed
Status: assignedclosed
UI/UX: unset

This was essentially fixed with the introduction of custom list filters in r16144.

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