diff --git a/lib/main/custom_filters.py b/lib/main/custom_filters.py index 60ee74541a..e2e1bf4ea8 100644 --- a/lib/main/custom_filters.py +++ b/lib/main/custom_filters.py @@ -32,6 +32,9 @@ class CustomFilterBackend(object): value = request.GET[key] + if key in [ 'page', 'page_size' ]: + continue + if key == 'order_by': order_by = value continue