diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-18 23:36:50 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-18 23:36:50 +0300 |
commit | 12a991f475e38cb7e2a32ef3afb4b733aeae4771 (patch) | |
tree | 98f4dec2e284bfb35f0114efe514f9246a02c036 | |
parent | b54c9272c9ad8c9900e0c92f95a260235eab4f99 (diff) | |
download | Servo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.tar.gz Servo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.tar.bz2 Servo-12a991f475e38cb7e2a32ef3afb4b733aeae4771.zip |
Fixed profile page search
-rw-r--r-- | servo/views/account.py | 2 |
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) |