X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/de3633d7652a8b9fb372345e437dcaa226b8b896..252e4cb551974b888cfe28cc4a51a241b91d529a:/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 bac1530d39..e5c71cb275 100644 --- 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 - Collection.where(uuid: collections).each do |c| + Collection.where(uuid: collections).with_count("none").each do |c| 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