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
rodič d2dcc2f95b
revize abd1b94235
1 změnil soubory, kde provedl 4 přidání a 0 odebrání

Zobrazit soubor

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