From 34c9fe4c2c22f39d76bbbe2f49b07ff00ccf4d18 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 31 Jan 2022 10:58:42 +0100 Subject: [PATCH] Bug 29975: (bug 21729 follow-up) Fix api/v1/holds.t Unknown column 'patron_expiration_date' in 'field list' The REST API routes don't need to be aware of the new column patron_expiration_date Signed-off-by: Fridolin Somers Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers --- Koha/Hold.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index 67899b8c97..7840f2d786 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -669,6 +669,7 @@ sub to_api_mapping { itemnumber => 'item_id', waitingdate => 'waiting_date', expirationdate => 'expiration_date', + patron_expiration_date => undef, lowestPriority => 'lowest_priority', suspend => 'suspended', suspend_until => 'suspended_until', -- 2.39.5