mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX .
This commit is contained in:
@@ -8,6 +8,7 @@ class Ci::BuildsController < Ci::BaseController
|
||||
scope = @repo.builds
|
||||
|
||||
scope = Ci::Builds::ListQuery.call(@repo, params)
|
||||
|
||||
@total_count = scope.map(&:build_id).size
|
||||
@builds = paginate scope
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user