From 0f2d569f1624f7934984d8c3ee99d74934a4f479 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 20 Jun 2013 09:19:16 +0530 Subject: [PATCH] Add a test for uppercase locations --- src/calibre/utils/search_query_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/utils/search_query_parser.py b/src/calibre/utils/search_query_parser.py index 745e01670f..2682088681 100644 --- a/src/calibre/utils/search_query_parser.py +++ b/src/calibre/utils/search_query_parser.py @@ -697,6 +697,7 @@ class Tester(SearchQueryParser): tests = { 'Dysfunction' : set([348]), 'title:Dysfunction' : set([348]), + 'Title:Dysfunction' : set([348]), 'title:Dysfunction OR author:Laurie': set([348, 444]), '(tag:txt or tag:pdf)': set([33, 258, 354, 305, 242, 51, 55, 56, 154]), '(tag:txt OR tag:pdf) and author:Tolstoy': set([55, 56]),