X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fe346bd892c3bcd1ec18adabfe9c6cfa179fa8f6..489aed58cb0d8bd816e07128cfcb9f5a06224083:/services/api/app/controllers/application_controller.rb diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb index ba7c07d272..81e4b961e4 100644 --- a/services/api/app/controllers/application_controller.rb +++ b/services/api/app/controllers/application_controller.rb @@ -78,6 +78,7 @@ class ApplicationController < ActionController::Base @distinct = nil @response_resource_name = nil @attrs = nil + @extra_included = nil end def default_url_options @@ -492,6 +493,9 @@ class ApplicationController < ActionController::Base :limit => @limit, :items => @objects.as_api_response(nil, {select: @select}) } + if @extra_included + list[:included] = @extra_included.as_api_response(nil, {select: @select}) + end case params[:count] when nil, '', 'exact' if @objects.respond_to? :except