projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4233: refactor to separate addDatum function
[arvados.git]
/
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 394bb7b889bf1ac3d38f7861954b1ffad0d89b92..3326527cc8912e9ea45dc72d1a5277d548e91550 100644
(file)
--- 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
%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
protected
def for_comparison v
if v.is_a? Hash or v.is_a? Array
@@
-307,8
+302,12
@@
class PipelineInstancesController < ApplicationController
end
end
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
def find_objects_by_uuid
@objects = model_class.where(uuid: params[:uuids])
end
-
end
end