Opened 16 years ago
Last modified 13 years ago
#8101 closed
Admin boolean filter — at Version 5
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 (last modified by )
Checked out revision 8204:
Filter for BooleanField not work...
Checked /admin/auth/user/?is_staff__exact=0
This is equals /admin/auth/user/?is_staff__exact=1
Also User.objects.filter(is_staff__exact='0')
is bad result.
Please, Anybody fixed this bug in BooleanField().get_db_prep_value()
Change History (7)
by , 16 years ago
comment:1 by , 16 years ago
milestone: | 1.0 beta → 1.0 |
---|
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 16 years ago
Needs tests: | set |
---|---|
Patch needs improvement: | set |
by , 16 years ago
Attachment: | 8101_boolean_fields_fix.diff added |
---|
comment:5 by , 16 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
patch