Fix world search category

This commit is contained in:
Natsumi
2021-12-06 01:23:05 +13:00
parent cfa71142d0
commit 78bc71bd6b

View File

@@ -9679,8 +9679,15 @@ speechSynthesis.getVoices();
params.user = 'me'; params.user = 'me';
params.releaseStatus = 'all'; params.releaseStatus = 'all';
} }
if (ref.tag) {
params.tag = ref.tag;
}
if (!this.searchWorldLabs) { if (!this.searchWorldLabs) {
params.tag = 'system_approved'; if (params.tag) {
params.tag += ',system_approved';
} else {
params.tag = 'system_approved';
}
} }
// TODO: option.platform // TODO: option.platform
this.searchWorldParams = params; this.searchWorldParams = params;