From 60685c55c7f78dd6e0801988f9c1a756ee5825dd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 12 Jul 2021 15:04:56 +0200 Subject: [PATCH] Bug 11879: Remove primary_contact_method from REST API Signed-off-by: Jonathan Druart --- Koha/Patron.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index a8379f6228..e202fecdb7 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1842,7 +1842,8 @@ sub to_api_mapping { altcontactphone => 'altcontact_phone', altcontactsurname => 'altcontact_surname', altcontactstate => 'altcontact_state', - altcontactzipcode => 'altcontact_postal_code' + altcontactzipcode => 'altcontact_postal_code', + primary_contact_method => undef, }; }