Allow filtering by space
This commit is contained in:
parent
6a7d28d1b5
commit
6bfa6c4c79
5 changed files with 68 additions and 12 deletions
|
|
@ -185,6 +185,15 @@ CommunitiesModel::setCurrentTagId(QString tagId)
|
|||
return;
|
||||
}
|
||||
}
|
||||
} else if (tagId.startsWith("space:")) {
|
||||
auto tag = tagId.mid(6);
|
||||
for (const auto &t : spaceOrder_) {
|
||||
if (t == tag) {
|
||||
this->currentTagId_ = tagId;
|
||||
emit currentTagIdChanged(currentTagId_);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this->currentTagId_ = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue