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_staffexact=1
Also User.objects.filter(is_staffexact='0') is bad result.
Please, Anybody fixed this bug in BooleanField().get_db_prep_value()
Note:
See TracTickets
for help on using tickets.
patch