From bb59e26e9ecf7245a6063ea885a52dd61f554c0d 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 Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 83f5fef84edb0306f401f736008423a5871bdbc5) Signed-off-by: Fridolin Somers --- C4/ILSDI/Services.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 3a1d0844ee..dfe80c14f2 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.39.5