From eab5b30ab1606b7b589f4286c8d3129c44b475d9 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 16 Jun 2020 18:29:07 +0200 Subject: [PATCH] adjust query --- lib/tasks/doi.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/doi.rake b/lib/tasks/doi.rake index 2983c167f..6a48d5538 100644 --- a/lib/tasks/doi.rake +++ b/lib/tasks/doi.rake @@ -106,7 +106,7 @@ namespace :doi do options = { from_id: (ENV["FROM_ID"] || Doi.minimum(:id)).to_i, until_id: (ENV["UNTIL_ID"] || Doi.maximum(:id)).to_i, - query: "agency:DataCite OR agency:Crossref OR -agency:*", + query: "agency:DataCite OR agency:Crossref", label: "[SetRegistrationAgency]", job_name: "UpdateDoiJob", }