mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Improve repo/user/org search (#27030)
* Fix a regression from #26809 (the `data-org` is missing) * Remove unnecessary style Screenshots:   
This commit is contained in:
		| @@ -47,7 +47,7 @@ export function initRepoSettingSearchTeamBox() { | ||||
|   $searchTeamBox.search({ | ||||
|     minCharacters: 2, | ||||
|     apiSettings: { | ||||
|       url: `${appSubUrl}/org/${$searchTeamBox.data('org')}/teams/-/search?q={query}`, | ||||
|       url: `${appSubUrl}/org/${$searchTeamBox.attr('data-org-name')}/teams/-/search?q={query}`, | ||||
|       headers: {'X-Csrf-Token': csrfToken}, | ||||
|       onResponse(response) { | ||||
|         const items = []; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user