Skip to content

Commit

Permalink
Fix topics dropdown (#10167)
Browse files Browse the repository at this point in the history
Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
jolheiser and lunny authored Feb 7, 2020
1 parent 730f026 commit d32b65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d32b65a

Please sign in to comment.