diff --git a/qutebrowser/completion/models/histcategory.py b/qutebrowser/completion/models/histcategory.py index 6ec203787..7db6ca902 100644 --- a/qutebrowser/completion/models/histcategory.py +++ b/qutebrowser/completion/models/histcategory.py @@ -74,7 +74,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)))