X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/05c87aaf4572a6420a61e16495420e99ece2cef6..3c73e2337ed73cd44e9bcc2d38a4dd742637ad19:/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