projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16265-security-updates' into dependabot/bundler/apps/workbench/nokogiri...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
jobs_controller.rb
diff --git
a/apps/workbench/app/controllers/jobs_controller.rb
b/apps/workbench/app/controllers/jobs_controller.rb
index bac1530d39a23fecf70077fe1e696c749a38b64b..e5c71cb275ed19b21b5db637d49fe7e356b64aea 100644
(file)
--- a/
apps/workbench/app/controllers/jobs_controller.rb
+++ b/
apps/workbench/app/controllers/jobs_controller.rb
@@
-24,11
+24,11
@@
class JobsController < ApplicationController
nodes[j[:script_version]] = {:uuid => j[:script_version]}
end
nodes[j[:script_version]] = {:uuid => j[:script_version]}
end
- Collection.where(uuid: collections).each do |c|
+ Collection.where(uuid: collections).
with_count("none").
each do |c|
nodes[c[:portable_data_hash]] = c
end
nodes[c[:portable_data_hash]] = c
end
- Collection.where(portable_data_hash: hashes).each do |c|
+ Collection.where(portable_data_hash: hashes).
with_count("none").
each do |c|
nodes[c[:portable_data_hash]] = c
end
nodes[c[:portable_data_hash]] = c
end