X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/34bb7db66cbbf50d7ec81d9ec568a86aaed521da..2e03d03bc55b5a612c2bf04d878a72f2ee420d99:/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 4f7bfcee53..e5c71cb275 100644 --- a/apps/workbench/app/controllers/jobs_controller.rb +++ b/apps/workbench/app/controllers/jobs_controller.rb @@ -24,17 +24,16 @@ 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 @svg = ProvenanceHelper::create_provenance_graph nodes, "provenance_svg", { :request => request, - :direction => :top_down, :all_script_parameters => true, :script_version_nodes => true} end