aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)