2872: Filter by tail instead of owner in case api server rule is not in yet.
authorTom Clegg <tom@curoverse.com>
Tue, 3 Jun 2014 09:01:20 +0000 (05:01 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 3 Jun 2014 09:01:20 +0000 (05:01 -0400)
apps/workbench/app/helpers/application_helper.rb

index 5eed7f8f3d9576ce62e0fae64107134e35cf10d4..992177569d351e21a97024a1f4599bcd98bc5dbb 100644 (file)
@@ -254,7 +254,7 @@ module ApplicationHelper
       end
       modal_path = choose_collections_path \
       ({ title: 'Choose a dataset:',
-         filters: [['owner_uuid', '=', object.owner_uuid]].to_json,
+         filters: [['tail_uuid', '=', object.owner_uuid]].to_json,
          action_name: 'OK',
          action_href: pipeline_instance_path(id: object.uuid),
          action_method: 'patch',