From 0251253f493e6e63f9769b3b88647c0f325170a3 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 25 Apr 2013 08:01:40 -0400 Subject: [PATCH] Don't treat pagination parameters as filtering. --- lib/main/custom_filters.py | 3 +++ 1 file changed, 3 insertions(+) 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