X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cac035d7a171b90f0dc714d17b500b4062c0c58b..0e7cfa403cb80fc68d6c10c4c912e4d618fa085a:/apps/workbench/app/controllers/pipeline_instances_controller.rb diff --git a/apps/workbench/app/controllers/pipeline_instances_controller.rb b/apps/workbench/app/controllers/pipeline_instances_controller.rb index 394bb7b889..3326527cc8 100644 --- a/apps/workbench/app/controllers/pipeline_instances_controller.rb +++ b/apps/workbench/app/controllers/pipeline_instances_controller.rb @@ -293,11 +293,6 @@ class PipelineInstancesController < ApplicationController %w(Compare Graph) end - def index - @limit = 20 - super - end - protected def for_comparison v if v.is_a? Hash or v.is_a? Array @@ -307,8 +302,12 @@ class PipelineInstancesController < ApplicationController end end + def load_filters_and_paging_params + params[:limit] = 20 + super + end + def find_objects_by_uuid @objects = model_class.where(uuid: params[:uuids]) end - end