Bug 21301: (follow-up) Remove borrowernumber in issues for GetRecords ILS-DI service

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 83f5fef84e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit bb59e26e9e)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2020-03-26 15:02:14 +03:00 committed by Andrew Fuerste-Henry
parent 5d7d166f48
commit 30f63a1fe0
1 changed files with 3 additions and 0 deletions

View File

@ -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} = [];