shared: LooqsQuery: Add tag:(),t:() filters to filter by tags
This commit is contained in:
parent
d2dcc2f95b
commit
abd1b94235
@ -285,6 +285,10 @@ LooqsQuery LooqsQuery::build(QString expression, TokenType loneWordsTokenType, b
|
|||||||
{
|
{
|
||||||
tokenType = FILTER_CONTENT_PAGE;
|
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
|
// TODO: given this is not really a "filter", this feels slightly misplaced here
|
||||||
else if(filtername == "sort")
|
else if(filtername == "sort")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user