From 8358c76f869c7c2c02134975445326a948f230d2 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 12 Dec 2017 20:26:30 -0500 Subject: [PATCH] Fix casing of LIKE in comment --- qutebrowser/completion/models/histcategory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/completion/models/histcategory.py b/qutebrowser/completion/models/histcategory.py index 95d905208..554f7f7f0 100644 --- a/qutebrowser/completion/models/histcategory.py +++ b/qutebrowser/completion/models/histcategory.py @@ -76,7 +76,7 @@ class HistoryCategory(QSqlQueryModel): # build a where clause to match all of the words in any order # given the search term "a b", the WHERE clause would be: - # ((url || title) like '%a%') AND ((url || title) LIKE '%b') + # ((url || title) LIKE '%a%') AND ((url || title) LIKE '%b') wheres = ' AND '.join( "(url || title) LIKE :{} escape '\\'".format(i) for i in range(len(words)))