django/django — pull request #2522 by serialx (2014-04-07 07:48:50+00:00)
Title: Fix admin AllValuesFieldListFilter not respecting ModelAdmin.get_queryset

Admin's AllValuesFieldListFilter object does not respect ModelAdmin.get_queryset. Instead it mysteriously calls reverse_field_path() method and uses the _default_manager to get the queryset.

It causes problems when the default database has no table for the model, and only the other databases has the table. It causes "Table not found" query error message.