summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2020-02-06 23:46:09 -0600
committerGitHub <noreply@github.com>2020-02-07 07:46:09 +0200
commitd32b65ab682f03963e2439b0d15a94d546ff920e (patch)
treee705692e3a2cb933a7e2234db5a7f79ce5696e7f /web_src
parent730f026c6e4e189b1c90c020315deee1d7d40de3 (diff)
downloadgitea-d32b65ab682f03963e2439b0d15a94d546ff920e.tar.gz
gitea-d32b65ab682f03963e2439b0d15a94d546ff920e.zip
Fix topics dropdown (#10167)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
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) {