甘特图配置及issue导出指派人为空的问题

This commit is contained in:
huang 2016-11-09 10:40:59 +08:00
parent a8575c3476
commit 431ff8b31c
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<tbody> <tbody>
<% @version_issue_assigned_name.each do | assigned | %> <% @version_issue_assigned_name.each do | assigned | %>
<tr> <tr>
<td><%= User.find(assigned[0]).show_name %></td> <td><%= User.find(assigned[0]).try(:show_name) %></td>
<td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0]).count %></td> <td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0]).count %></td>
<td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 3).count %></td> <td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 3).count %></td>
<td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 5).count %></td> <td><%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 5).count %></td>

View File

@ -103,7 +103,7 @@ feeds_limit:
default: 15 default: 15
gantt_items_limit: gantt_items_limit:
format: int format: int
default: 500 default: 10000
# Maximum size of files that can be displayed # Maximum size of files that can be displayed
# inline through the file viewer (in KB) # inline through the file viewer (in KB)
file_max_size_displayed: file_max_size_displayed: