diff options
author | Ben Rohlfs <brohlfs@google.com> | 2021-11-18 13:13:51 +0100 |
---|---|---|
committer | Eryk Szymanski <eryksz@gmail.com> | 2021-11-18 15:58:58 +0100 |
commit | 4b12ea3d30a3974f243dcf9417c70ebf63663d04 (patch) | |
tree | f6666296a9fba9f700811212fd87e308748827c5 | |
parent | e297d8448253ba56dde391a44803a5e1fbf1e3f6 (diff) |
Fix group suggestions
Bug: Issue 15293
Change-Id: Id420aaeb0303c1d7f041dd0fdc6558dc7ffbe43a
(cherry picked from commit 9f330078a7b91ed3c97ef53940c5ce97c0192533)
-rw-r--r-- | polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js index 9fa4312c91..c10e594a5a 100644 --- a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js +++ b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js @@ -1502,7 +1502,7 @@ class GrRestApiInterface extends mixinBehaviors( [ getSuggestedGroups(inputVal, opt_p, opt_n, opt_errFn) { const params = {s: inputVal}; if (opt_n) { params.n = opt_n; } - if (opt_p) { params.p = encodeURIComponent(opt_p); } + if (opt_p) { params.p = opt_p; } return this._restApiHelper.fetchJSON({ url: '/groups/', errFn: opt_errFn, |