From d32b65ab682f03963e2439b0d15a94d546ff920e Mon Sep 17 00:00:00 2001
From: John Olheiser <42128690+jolheiser@users.noreply.github.com>
Date: Thu, 6 Feb 2020 23:46:09 -0600
Subject: [PATCH] Fix topics dropdown (#10167)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
---
 web_src/js/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web_src/js/index.js b/web_src/js/index.js
index cf628d8ee3..cbd62f1c1e 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -3329,7 +3329,7 @@ function initTopicbar() {
       label: 'ui small label'
     },
     apiSettings: {
-      url: `${suburl}/api/v1/topics/search?q={encodeURIComponent(query)}`,
+      url: `${suburl}/api/v1/topics/search?q={query}`,
       throttle: 500,
       cache: false,
       onResponse(res) {