mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	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>
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user