From b75434d122252b1ed5f5b578e945e24e5ac82edf Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 7 Aug 2017 15:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8C=E7=A8=8B=E7=A2=91=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E5=85=B3=E9=97=AD/=E9=94=81=E5=AE=9A=EF=BC=8Cissue=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=AF=E6=B2=A1=E6=9C=89=E9=87=8C=E7=A8=8B=E7=A2=91?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9=EF=BC=8C=E4=BD=86=E6=98=AF?= =?UTF-8?q?=E6=96=B0=E5=BB=BAissue=E4=B8=AD=E9=80=89=E6=8B=A9=E9=87=8C?= =?UTF-8?q?=E7=A8=8B=E7=A2=91=E8=BF=98=E6=98=AF=E6=9C=89=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/issue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index 6fdd978f3..82b2d7894 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -861,7 +861,7 @@ class Issue < ActiveRecord::Base # versions = project.shared_versions.open.all # versions = Version.where(:project_id => project.id, :status => "open").order("created_on desc") - versions = Version.where(:project_id => project.id).order("created_on desc") + versions = Version.where(:project_id => project.id, :status => "open").order("created_on desc") if fixed_version if fixed_version_id_changed? # nothing to do