From 0cdfe0e64a6fd123d003210cca9f1bcd8ace543b Mon Sep 17 00:00:00 2001 From: John Salter Date: Tue, 15 Jun 2021 17:24:20 +0100 Subject: [PATCH] OAI 'Identify' - earliest datestamp The Identify response has an 'earliest datestamp'. There could be a deleted record that is earlier than any (currently) live records. This change will make sure an accurate `earliestDatestamp` is represented, meaning the OAI-PMH validator will be happy. --- cgi/oai2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/oai2 b/cgi/oai2 index d9a0e63a..24309dc8 100644 --- a/cgi/oai2 +++ b/cgi/oai2 @@ -417,7 +417,7 @@ sub Identify ); $searchexp->add_field( $dataset->field( "eprint_status" ), - "archive", + "archive deletion", "EQ", "ANY" );