From 36bb39ede9831ea96c293fba56a0f5a8a99a2eae Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 28 Feb 2013 16:32:06 -0500 Subject: [PATCH] Fix improperly case-sensitive narrowing by subject. (imported from commit 24403f0815e46f21000f7d5a5b59bfdfe3448ddf) --- zephyr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/views.py b/zephyr/views.py index 87f599229c..ada4b93158 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -507,7 +507,7 @@ class NarrowBuilder(object): return Q(recipient=recipient) def by_subject(self, operand): - return Q(subject=operand) + return Q(subject__iexact=operand) def by_sender(self, operand): return Q(sender__user__email__iexact=operand)