Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#512 closed defect (fixed)

Admin list_filter doesn't work for BooleanField with MySQL

Reported by: django@… Owned by: adrian
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: UI/UX:

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 Changed 10 years ago by jacob

  • milestone set to Version 1.0

comment:2 Changed 10 years ago by adrian

  • Status changed from new to assigned

comment:3 Changed 10 years ago by adrian

  • Summary changed from list_filter does not work with mysql to Admin list_filter doesn't work for BooleanField with MySQL

comment:4 Changed 10 years ago by adrian

  • Severity changed from blocker to normal

comment:5 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

I believe this is fixed as of [804].

comment:6 Changed 10 years ago by django@…

Works now as advertised. Thank you.

comment:7 Changed 9 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

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