shared: LooqsQuery: Add tag:(),t:() filters to filter by tags
This commit is contained in:
parent
cd400b2d71
commit
b1178a9df2
@ -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