aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views/account.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-18 23:36:50 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-18 23:36:50 +0300
commit12a991f475e38cb7e2a32ef3afb4b733aeae4771 (patch)
tree98f4dec2e284bfb35f0114efe514f9246a02c036 /servo/views/account.py
parentb54c9272c9ad8c9900e0c92f95a260235eab4f99 (diff)
downloadServo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.tar.gz
Servo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.tar.bz2
Servo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.zip
Fixed profile page search
Diffstat (limited to 'servo/views/account.py')
-rw-r--r--servo/views/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/account.py b/servo/views/account.py
index eb0bba1..c88c40a 100644
--- a/servo/views/account.py
+++ b/servo/views/account.py
@@ -91,7 +91,7 @@ def orders(request, username):
args = request.GET.copy()
default = {'state': Order.STATE_OPEN}
- if not args:
+ if len(args) < 2:
f = request.session.get("account_search_filter", default)
args = QueryDict('', mutable=True)
args.update(f)