From 43a3ad1ce8612d75eb43688de5ac34d6186ff2ba Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sun, 18 Sep 2016 09:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E8=B7=9F=E8=B8=AA=E4=BD=9C?= =?UTF-8?q?=E8=80=85=E4=B8=8B=E6=8B=89=E5=88=97=E8=A1=A8=E7=94=B1=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8D=E6=94=B9=E4=B8=BA=E7=94=A8=E6=88=B7=E5=A7=93?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index e4557b787..45891ae72 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -85,7 +85,7 @@ {:onchange=>"remote_function();",:id=>"status_id",:name=>"status_id",:class=>"w90 mr18"} ) %> - <%= select( :issue,:user_id, @project.members.order("lower(users.login)").map{|c| [c.name, c.user_id]}.unshift(["作者",0]), + <%= select( :issue,:user_id, @project.members.order("lower(users.login)").map{|c| [User.find(c.user_id).show_name, c.user_id]}.unshift(["作者",0]), { :include_blank => false,:selected=>@author_id ? @author_id : 0 }, {:onchange=>"remote_function();",:id=>"author_id",:name=>"author_id",:class=>"w90 mr18"}