django/django — pull request #820 by viciu (2013-02-24 12:26:05+00:00)
Title: Fixed #11295: If ModelAdmin.queryset returns a filtered QS don't require a 2nd count call

Original patch rewritten, added tests and get_filters_params method for ChangeList class.
Thanks Alex for the report.