Skip to content

Commit

Permalink
Merge pull request #769 from meepzh/bugfix-watch-topic-search
Browse files Browse the repository at this point in the history
Quote watch page topic search query due to commas
  • Loading branch information
sphinxrave authored May 24, 2024
2 parents 9fd0cfd + ecfa221 commit 5e8018d
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 5e8018d

Please sign in to comment.