From bca1e6a0c5e6d5673fa53ed0d8bba1da4be66475 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sun, 29 Apr 2018 11:38:31 +0200 Subject: [PATCH] Add search query test to check a parenthesized expression after an implied "AND" --- src/calibre/utils/search_query_parser_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/utils/search_query_parser_test.py b/src/calibre/utils/search_query_parser_test.py index 15a29d42f6..6f7ba1ca45 100644 --- a/src/calibre/utils/search_query_parser_test.py +++ b/src/calibre/utils/search_query_parser_test.py @@ -322,6 +322,7 @@ class Tester(SearchQueryParser): 'author:S\\"calzi': {343}, '"S\\"calzi"': {343}, 'M\\\\cMurtry': {427}, + 'author:Tolstoy (tag:txt OR tag:pdf)': set([55, 56]), } fields = {'title':0, 'author':1, 'publisher':2, 'tag':3}