From 27be06c67281bf24df755c67e305da420c11eac8 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 (cherry picked from commit 96e6362ab721621dd7e24d6f8a56d168e2a9b497) Signed-off-by: Lucas Gass --- 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