Opened 16 years ago

Last modified 13 years ago

#8101 closed

Admin boolean filter — at Initial Version

Reported by: Alexander Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: bool filter string
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Checked out revision 8204:

Filter for BooleanField not work...
Checked /admin/auth/user/?is_staffexact=0
This is equals /admin/auth/user/?is_staff
exact=1

Also User.objects.filter(is_staffexact='0') is bad result.

Please, Anybody fixed this bug in BooleanField().get_db_prep_value()

Change History (1)

by Alexander, 16 years ago

Attachment: bool.diff added

patch

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