项目issue翻页后查询条件丢失修改

This commit is contained in:
lizanle 2015-05-07 09:20:11 +08:00
parent 6c7b92558c
commit 1cb3dfc833
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<div id="filter_form" class="fr" >
<%= select( :issue,:user_id, @project.members.order("lower(users.login)").map{|c| [c.name, c.user_id]}.unshift(["指派给",0]),
{ :include_blank => false,:selected=>@assign_to_id.nil? ? @assign_to_id : 0
{ :include_blank => false,:selected=>@assign_to_id ? @assign_to_id : 0
},
{:onchange=>"remote_function();",:id=>"assigned_to_id",:name=>"v[assigned_to_id]",:class=>"w90"}
)