Add missing paranthesis

Not sure how these slipped through.
This commit is contained in:
2021-06-12 22:50:27 +02:00
parent 248bfb96fe
commit 01872e37d5
2 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ QSqlQuery SqliteSearch::makeSqlQuery(const LooqsQuery &query)
QString whereSql;
QString joinSql;
QVector<QString> bindValues;
bool isContentSearch = query.getTokensMask() & FILTER_CONTENT == FILTER_CONTENT;
bool isContentSearch = (query.getTokensMask() & FILTER_CONTENT) == FILTER_CONTENT;
if(query.getTokens().isEmpty())
{
throw LooqsGeneralException("Nothing to search for supplied");