mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 22:43:41 +08:00
Restore searching in tags when on tag page (#129)
This commit is contained in:
parent
42a1c97371
commit
cc7e805a4b
|
@ -89,6 +89,9 @@ export default function() {
|
|||
|
||||
if (this.params.tags) {
|
||||
params.filter.tag = this.params.tags;
|
||||
// TODO: replace this with a more robust system.
|
||||
const q = params.filter.q;
|
||||
params.filter.q = q ? `${q} tag:${this.params.tags}` : '';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user