From ff23570f7da3b51a19b5ed041b83669ef7eac99e Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 21 Apr 2020 17:44:57 +0200 Subject: [PATCH] use exclude-registration-agencies option in cursor-based pagination. #476 --- app/controllers/dois_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/dois_controller.rb b/app/controllers/dois_controller.rb index 521f824ab..e3327cf69 100644 --- a/app/controllers/dois_controller.rb +++ b/app/controllers/dois_controller.rb @@ -213,6 +213,7 @@ def index self: request.original_url, next: results.size < page[:size] || page[:size] == 0 ? nil : request.base_url + "/dois?" + { query: params[:query], + "exclude-registration-agencies" => params[:exclude_registration_agencies], "provider-id" => params[:provider_id], "consortium-id" => params[:consortium_id], "client-id" => params[:client_id],