Skip to content

Commit

Permalink
Quote watch page topic for search query due to commas
Browse files Browse the repository at this point in the history
  • Loading branch information
meepzh committed May 20, 2024
1 parent 52d06b5 commit ecfa221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/watch/WatchInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default {
const topic = this.video.topic_id;
const capitalizedTopic = topic[0].toUpperCase() + topic.slice(1);
const { org } = this.video.channel;
let q = `type,value,text\ntopic,${topic},${capitalizedTopic}`;
let q = `type,value,text\ntopic,"${topic}","${capitalizedTopic}"`;
if (org) {
q += `\norg,${org},${org}`;
}
Expand Down

0 comments on commit ecfa221

Please sign in to comment.