aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorTyrone Yeh <siryeh@gmail.com>2023-04-15 02:48:36 +0800
committerGitHub <noreply@github.com>2023-04-14 14:48:36 -0400
commited81b608cb5bd94ef518393cdd724c4fac1215d4 (patch)
tree16fa2a8847833c4338ca8aa397cacc2fd7626cf7 /web_src
parentcfe3d6e9b507a9331328e55ff98a1f582abae185 (diff)
downloadgitea-ed81b608cb5bd94ef518393cdd724c4fac1215d4.tar.gz
gitea-ed81b608cb5bd94ef518393cdd724c4fac1215d4.zip
Add option to search for users is active join a team (#24093)
Adding a user in a team to enter a username gives a list of no active users --------- Co-authored-by: Jason Song <i@wolfogre.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/features/comp/SearchUserBox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/comp/SearchUserBox.js b/web_src/js/features/comp/SearchUserBox.js
index 0e9a005acf..960b787fea 100644
--- a/web_src/js/features/comp/SearchUserBox.js
+++ b/web_src/js/features/comp/SearchUserBox.js
@@ -11,7 +11,7 @@ export function initCompSearchUserBox() {
$searchUserBox.search({
minCharacters: 2,
apiSettings: {
- url: `${appSubUrl}/user/search?q={query}`,
+ url: `${appSubUrl}/user/search?active=1&q={query}`,
onResponse(response) {
const items = [];
const searchQuery = $searchUserBox.find('input').val();