1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

Fix for #361, renamed username to login

This commit is contained in:
Bwko 2016-12-07 12:21:16 +01:00 committed by Kim "BKC" Carlbäcker
parent 04b9a7e7a2
commit 39d0db52de

View File

@ -1089,7 +1089,7 @@ function searchUsers() {
if (response.ok && response.data.length) {
var html = '';
$.each(response.data, function (i, item) {
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.username + '</span>';
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.login + '</span>';
if (notEmpty(item.full_name)) {
html += ' (' + item.full_name + ')';
}