From 96e6362ab721621dd7e24d6f8a56d168e2a9b497 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 20 Mar 2020 10:12:24 +0000 Subject: [PATCH] Bug 24809: (QA follow-up) Add prefix to prevent disambiguity This seems not to be needed. Just at the safe side. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- Koha/OAI/Server/GetRecord.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/OAI/Server/GetRecord.pm b/Koha/OAI/Server/GetRecord.pm index a6fa42814b..30379c4246 100644 --- a/Koha/OAI/Server/GetRecord.pm +++ b/Koha/OAI/Server/GetRecord.pm @@ -48,7 +48,7 @@ sub new { $sql .= " UNION SELECT deleteditems.timestamp FROM deleteditems JOIN biblio USING (biblionumber) - WHERE biblionumber=? + WHERE deleteditems.biblionumber=? UNION SELECT timestamp from items WHERE biblionumber=? -- 2.39.5