prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Hide 'Clear filters' when list view has page in GET
  ### What I'm trying to achieve
  
  Clear filters button should appear only when some filters are applied.
  
  ### Steps to reproduce the problem
  
  1. Go to dashboard or store front page with filters and pagination and move to next page  (/dashboard/products/?page=2)
  2. Clear filters button is present in filters card
  
  ### What I expected to happen
  
  Clear filters button should be only present if some filters are applied.
  
  ### What happened instead/how it failed
  
  Clear filter button is present.
  
  ![screenshot from 2017-12-06 10-11-14](https://user-images.githubusercontent.com/11785371/33653595-d34f5b00-da6d-11e7-90d6-dd31767434f7.png)
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `saleor/core/filters.py`
  Content:
  ```
  1 from django_filters import FilterSet
  2 
  3 
  4 class SortedFilterSet(FilterSet):
  5     '''
  6     Base class for filtersets used in dashboard views. Adds flag
  7     is_bound_unsorted to indicate if FilterSet has data from filters other
  8     than sort_by.
  9     '''
  10     def __init__(self, data, *args, **kwargs):
  11         data_copy = data.copy() if data else None
  12         self.is_bound_unsorted = self.set_is_bound_unsorted(data_copy)
  13         super().__init__(data, *args, **kwargs)
  14 
  15     def set_is_bound_unsorted(self, data_copy):
  16         if data_copy and data_copy.get('sort_by', None):
  17             del data_copy['sort_by']
  18         if data_copy:
  19             return True
  20         return False
  21
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/saleor/core/filters.py b/saleor/core/filters.py
  --- a/saleor/core/filters.py
  +++ b/saleor/core/filters.py
  @@ -5,16 +5,11 @@
       '''
       Base class for filtersets used in dashboard views. Adds flag
       is_bound_unsorted to indicate if FilterSet has data from filters other
  -    than sort_by.
  +    than sort_by or page.
       '''
       def __init__(self, data, *args, **kwargs):
  -        data_copy = data.copy() if data else None
  -        self.is_bound_unsorted = self.set_is_bound_unsorted(data_copy)
  -        super().__init__(data, *args, **kwargs)
  +        self.is_bound_unsorted = self.set_is_bound_unsorted(data)
  +        super(SortedFilterSet, self).__init__(data, *args, **kwargs)
   
  -    def set_is_bound_unsorted(self, data_copy):
  -        if data_copy and data_copy.get('sort_by', None):
  -            del data_copy['sort_by']
  -        if data_copy:
  -            return True
  -        return False
  +    def set_is_bound_unsorted(self, data):
  +        return any([key not in {'sort_by', 'page'} for key in data.keys()])
  
verification_info: {"golden_diff": "diff --git a/saleor/core/filters.py b/saleor/core/filters.py\n--- a/saleor/core/filters.py\n+++ b/saleor/core/filters.py\n@@ -5,16 +5,11 @@\n     '''\n     Base class for filtersets used in dashboard views. Adds flag\n     is_bound_unsorted to indicate if FilterSet has data from filters other\n-    than sort_by.\n+    than sort_by or page.\n     '''\n     def __init__(self, data, *args, **kwargs):\n-        data_copy = data.copy() if data else None\n-        self.is_bound_unsorted = self.set_is_bound_unsorted(data_copy)\n-        super().__init__(data, *args, **kwargs)\n+        self.is_bound_unsorted = self.set_is_bound_unsorted(data)\n+        super(SortedFilterSet, self).__init__(data, *args, **kwargs)\n \n-    def set_is_bound_unsorted(self, data_copy):\n-        if data_copy and data_copy.get('sort_by', None):\n-            del data_copy['sort_by']\n-        if data_copy:\n-            return True\n-        return False\n+    def set_is_bound_unsorted(self, data):\n+        return any([key not in {'sort_by', 'page'} for key in data.keys()])\n", "issue": "Hide 'Clear filters' when list view has page in GET\n### What I'm trying to achieve\r\n\r\nClear filters button should appear only when some filters are applied.\r\n\r\n### Steps to reproduce the problem\r\n\r\n1. Go to dashboard or store front page with filters and pagination and move to next page  (/dashboard/products/?page=2)\r\n2. Clear filters button is present in filters card\r\n\r\n### What I expected to happen\r\n\r\nClear filters button should be only present if some filters are applied.\r\n\r\n### What happened instead/how it failed\r\n\r\nClear filter button is present.\r\n\r\n![screenshot from 2017-12-06 10-11-14](https://user-images.githubusercontent.com/11785371/33653595-d34f5b00-da6d-11e7-90d6-dd31767434f7.png)\r\n\r\n\n", "before_files": [{"content": "from django_filters import FilterSet\n\n\nclass SortedFilterSet(FilterSet):\n    '''\n    Base class for filtersets used in dashboard views. Adds flag\n    is_bound_unsorted to indicate if FilterSet has data from filters other\n    than sort_by.\n    '''\n    def __init__(self, data, *args, **kwargs):\n        data_copy = data.copy() if data else None\n        self.is_bound_unsorted = self.set_is_bound_unsorted(data_copy)\n        super().__init__(data, *args, **kwargs)\n\n    def set_is_bound_unsorted(self, data_copy):\n        if data_copy and data_copy.get('sort_by', None):\n            del data_copy['sort_by']\n        if data_copy:\n            return True\n        return False\n", "path": "saleor/core/filters.py"}], "after_files": [{"content": "from django_filters import FilterSet\n\n\nclass SortedFilterSet(FilterSet):\n    '''\n    Base class for filtersets used in dashboard views. Adds flag\n    is_bound_unsorted to indicate if FilterSet has data from filters other\n    than sort_by or page.\n    '''\n    def __init__(self, data, *args, **kwargs):\n        self.is_bound_unsorted = self.set_is_bound_unsorted(data)\n        super(SortedFilterSet, self).__init__(data, *args, **kwargs)\n\n    def set_is_bound_unsorted(self, data):\n        return any([key not in {'sort_by', 'page'} for key in data.keys()])\n", "path": "saleor/core/filters.py"}]}