From 431ff8b31caa59a04d93af61a54d228d62a4de0f Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 9 Nov 2016 10:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=98=E7=89=B9=E5=9B=BE=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=8Aissue=E5=AF=BC=E5=87=BA=E6=8C=87=E6=B4=BE=E4=BA=BA?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/versions/_issue_statistics.html.erb | 2 +- config/settings.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/versions/_issue_statistics.html.erb b/app/views/versions/_issue_statistics.html.erb index 5e822be3f..b8c0ff2e3 100644 --- a/app/views/versions/_issue_statistics.html.erb +++ b/app/views/versions/_issue_statistics.html.erb @@ -11,7 +11,7 @@ <% @version_issue_assigned_name.each do | assigned | %> - <%= User.find(assigned[0]).show_name %> + <%= User.find(assigned[0]).try(:show_name) %> <%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0]).count %> <%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 3).count %> <%= Issue.where(:fixed_version_id => @version.id, :assigned_to_id => assigned[0], :status_id => 5).count %> diff --git a/config/settings.yml b/config/settings.yml index dc89093f1..c97fd74ca 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -103,7 +103,7 @@ feeds_limit: default: 15 gantt_items_limit: format: int - default: 500 + default: 10000 # Maximum size of files that can be displayed # inline through the file viewer (in KB) file_max_size_displayed: