From b1178a9df250cb6009bac74c190cb9b092267fe9 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") {