From 9ca7a9bec267381f5e852fbead0bcf17ee30aa45 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 26 Mar 2020 15:02:14 +0300 Subject: [PATCH] Bug 21301: (follow-up) Remove borrowernumber in issues for GetRecords ILS-DI service --- C4/ILSDI/Services.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 854ee49fa4..6a018daef4 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -235,6 +235,9 @@ sub GetRecords { '+as' => ['barcode'], } )->unblessed; + foreach my $checkout (@$checkouts) { + delete $checkout->{'borrowernumber'}; + } my @items = $biblio->items->as_list; $biblioitem->{items}->{item} = []; -- 2.25.1