diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py
index df0fd9f..6c2c3b7 100644
a
|
b
|
class ChangeList(object):
|
58 | 58 | self.params = dict(request.GET.items()) |
59 | 59 | if PAGE_VAR in self.params: |
60 | 60 | del self.params[PAGE_VAR] |
61 | | if TO_FIELD_VAR in self.params: |
62 | | del self.params[TO_FIELD_VAR] |
63 | 61 | if ERROR_FLAG in self.params: |
64 | 62 | del self.params[ERROR_FLAG] |
65 | 63 | |
… |
… |
class ChangeList(object):
|
171 | 169 | def get_query_set(self): |
172 | 170 | qs = self.root_query_set |
173 | 171 | lookup_params = self.params.copy() # a dictionary of the query string |
174 | | for i in (ALL_VAR, ORDER_VAR, ORDER_TYPE_VAR, SEARCH_VAR, IS_POPUP_VAR): |
| 172 | for i in (ALL_VAR, ORDER_VAR, ORDER_TYPE_VAR, SEARCH_VAR, IS_POPUP_VAR, TO_FIELD_VAR): |
175 | 173 | if i in lookup_params: |
176 | 174 | del lookup_params[i] |
177 | 175 | for key, value in lookup_params.items(): |