Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/jobs_controller.rb')
-rw-r--r--app/controllers/admin/jobs_controller.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/controllers/admin/jobs_controller.rb b/app/controllers/admin/jobs_controller.rb
index 5ea8c672993..d0ade3e6024 100644
--- a/app/controllers/admin/jobs_controller.rb
+++ b/app/controllers/admin/jobs_controller.rb
@@ -7,18 +7,10 @@ class Admin::JobsController < Admin::ApplicationController
urgency :low
before_action do
- push_frontend_feature_flag(:admin_jobs_vue)
+ push_frontend_feature_flag(:admin_jobs_filter_runner_type, type: :ops)
end
- def index
- # We need all builds for tabs counters
- @all_builds = Ci::JobsFinder.new(current_user: current_user).execute
-
- @scope = params[:scope]
- @builds = Ci::JobsFinder.new(current_user: current_user, params: params).execute
- @builds = @builds.eager_load_everything
- @builds = @builds.page(params[:page]).per(BUILDS_PER_PAGE).without_count
- end
+ def index; end
def cancel_all
Ci::Build.running_or_pending.each(&:cancel)