aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--servo/views/search.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/servo/views/search.py b/servo/views/search.py
index 597e248..7640839 100644
--- a/servo/views/search.py
+++ b/servo/views/search.py
@@ -284,3 +284,6 @@ def spotlight(request):
if hint == 'products':
return products(request)
+
+ messages.error(request, _('No search query provided'))
+ return redirect(reverse('orders-index'))