          Refs #17972.
          """
          modeladmin = EmployeeAdmin(Employee, site)
  
          dev = Department.objects.create(code='DEV', description='Development')
          design = Department.objects.create(code='DSN', description='Design')
          john = Employee.objects.create(name='John Blue', department=dev)
          jack = Employee.objects.create(name='Jack Red', department=design)
  
          request = self.request_factory.get('/', {})
          changelist = self.get_changelist(request, Employee, modeladmin)
  
          # Make sure the correct queryset is returned
          queryset = changelist.get_query_set(request)
 
</s> remove         self.assertEqual(list(queryset), [john])
 </s> add         self.assertEqual(list(queryset), [self.john]) </s> remove         self.assertEqual(list(queryset), [jack, john])
 </s> add         self.assertEqual(list(queryset), [self.jack, self.john])
          Refs #17972.
          """
          modeladmin = EmployeeAdmin(Employee, site)
  





          request = self.request_factory.get('/', {})
          changelist = self.get_changelist(request, Employee, modeladmin)
  
          # Make sure the correct queryset is returned
          queryset = changelist.get_query_set(request)
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string. 
tests/regressiontests/admin_filters/tests.py