修正路线图各版本排列问题
This commit is contained in:
parent
d086162854
commit
d7ba950851
|
@ -40,7 +40,7 @@ class VersionsController < ApplicationController
|
|||
@versions = @project.shared_versions || []
|
||||
@versions += @project.rolled_up_versions.visible if @with_subprojects
|
||||
#added by young
|
||||
@versions = @versions.uniq.sort
|
||||
@versions = @versions.uniq.reverse#Modified by young
|
||||
@offset, @limit = api_offset_and_limit({:limit => 4})
|
||||
@versions_count = @versions.count
|
||||
@versions_pages = Paginator.new @versions_count, @limit, params['page']
|
||||
|
|
Loading…
Reference in New Issue