From 3a404d9e0d6014d16c9222c07a3865500df89e9c Mon Sep 17 00:00:00 2001 From: hernani Date: Wed, 10 Nov 2010 11:46:20 +0000 Subject: [PATCH] Problem with case insensitive tag search. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@614 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/readers.py b/forum/views/readers.py index 38c3c9f..8e641bf 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -223,7 +223,7 @@ def tags(request): if request.method == "GET": stag = request.GET.get("q", "").strip() if stag: - tags = tags.filter(name__contains=stag) + tags = tags.filter(name__icontains=stag) return pagination.paginated(request, ('tags', TagPaginatorContext()), { "tags" : tags, -- 2.39.5