mirror of
https://github.com/flarum/core.git
synced 2025-08-09 01:46:35 +02:00
Restore searching in tags when on tag page (#129)
This commit is contained in:
committed by
GitHub
parent
42a1c97371
commit
cc7e805a4b
@@ -89,6 +89,9 @@ export default function() {
|
|||||||
|
|
||||||
if (this.params.tags) {
|
if (this.params.tags) {
|
||||||
params.filter.tag = 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}` : '';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user