#512 closed defect (fixed)
Admin list_filter doesn't work for BooleanField with MySQL
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
If list_filter is used on a boolean field it always shows all records which has field=False whatever i select "yes" or "no". "All" does work. I was able to reproduce this bug in the admin/auth/users view. When using postgresql on the same machine the filter works as expected. If you need more informations let me know.
This is with
mysql-server 4.1.12-1ubuntu1
python2.4-mysqldb 1.2.1c3-1ubuntu1
Change History (7)
comment:1 by , 19 years ago
milestone: | → Version 1.0 |
---|
comment:2 by , 19 years ago
Status: | new → assigned |
---|
comment:3 by , 19 years ago
Summary: | list_filter does not work with mysql → Admin list_filter doesn't work for BooleanField with MySQL |
---|
comment:4 by , 19 years ago
Severity: | blocker → normal |
---|
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I believe this is fixed as of [804].