Restore searching in tags when on tag page (#129)

This commit is contained in:
Alexander Skvortsov 2021-05-10 14:21:43 -04:00 committed by GitHub
parent 42a1c97371
commit cc7e805a4b

View File

@ -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}` : '';
}
});
}