shared: LooqsQuery: Add tag:(),t:() filters to filter by tags

This commit is contained in:
Albert S. 2023-04-10 18:27:18 +02:00
parent d2dcc2f95b
commit abd1b94235
1 changed files with 4 additions and 0 deletions

View File

@ -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")
{