Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#512 closed defect (fixed)

Admin list_filter doesn't work for BooleanField with MySQL

Reported by: django@… 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

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 Jacob, 19 years ago

milestone: Version 1.0

comment:2 by Adrian Holovaty, 19 years ago

Status: newassigned

comment:3 by Adrian Holovaty, 19 years ago

Summary: list_filter does not work with mysqlAdmin list_filter doesn't work for BooleanField with MySQL

comment:4 by Adrian Holovaty, 19 years ago

Severity: blockernormal

comment:5 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: assignedclosed

I believe this is fixed as of [804].

comment:6 by django@…, 19 years ago

Works now as advertised. Thank you.

comment:7 by (none), 17 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

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