项目的issue列表“里程碑”的下拉选项中,按照历程的创建时间倒序
This commit is contained in:
parent
ddd88d8b95
commit
f2229794f2
|
@ -130,7 +130,7 @@ module IssuesHelper
|
|||
end
|
||||
|
||||
def options_for_version_isuue_list(project)
|
||||
versions = Version.where(:project_id => project, :status => "open").map{|version| [version.name, version.id]}.unshift(["里程碑", 0])
|
||||
versions = Version.where(:project_id => project, :status => "open").order("created_on desc").map{|version| [version.name, version.id]}.unshift(["里程碑", 0])
|
||||
end
|
||||
|
||||
def render_issue_subject_with_tree(issue)
|
||||
|
|
Loading…
Reference in New Issue