mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
Fix topics dropdown (#10167)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
730f026c6e
commit
d32b65ab68
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue