From abd1b942352475046d9b787f8d832b2f3bdd61cb Mon Sep 17 00:00:00 2001 From: Albert S Date: Mon, 10 Apr 2023 18:27:18 +0200 Subject: [PATCH] shared: LooqsQuery: Add tag:(),t:() filters to filter by tags --- shared/looqsquery.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/looqsquery.cpp b/shared/looqsquery.cpp index 730bf47..5d43f59 100644 --- a/shared/looqsquery.cpp +++ b/shared/looqsquery.cpp @@ -285,6 +285,10 @@ LooqsQuery LooqsQuery::build(QString expression, TokenType loneWordsTokenType, b { tokenType = FILTER_CONTENT_PAGE; } + else if(filtername == "t" || filtername == "tag") + { + tokenType = FILTER_TAG_ASSIGNED; + } // TODO: given this is not really a "filter", this feels slightly misplaced here else if(filtername == "sort") {