Skip to content
This repository
Browse code

Minor fix for searching dashboard pages

  • Loading branch information...
commit b01e9f62dcc74b2ed1e83b81ee39c5e08f4bc90e 1 parent 5f67e38
David Winterbottom authored July 09, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  oscar/apps/dashboard/pages/views.py
2  oscar/apps/dashboard/pages/views.py
@@ -42,7 +42,7 @@ def get_queryset(self):
42 42
         data = self.form.cleaned_data
43 43
 
44 44
         if data['title']:
45  
-            queryset = queryset.filter(title__contains=data['title'])
  45
+            queryset = queryset.filter(title__icontains=data['title'])
46 46
             self.description += " with title containing '%s'" % data['title']
47 47
 
48 48
         return queryset

0 notes on commit b01e9f6

Please sign in to comment.
Something went wrong with that request. Please try again.