From 9fc04d23c012f62bcb008c377fcc40c110eb9036 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 1 Mar 2019 09:20:18 +0000 Subject: [PATCH] Bug 21063: (follow-up) borrowernumber -> patron_id As per comment #36 here: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21063#c36 --- Koha/REST/V1/Illrequests.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/Illrequests.pm b/Koha/REST/V1/Illrequests.pm index 21da824944..7e79eb60fa 100644 --- a/Koha/REST/V1/Illrequests.pm +++ b/Koha/REST/V1/Illrequests.pm @@ -127,7 +127,7 @@ sub list { foreach my $p(@{$patron_arr}) { if ($p->{borrowernumber} == $req->borrowernumber) { $to_push->{patron} = { - borrowernumber => $p->{borrowernumber}, + patron_id => $p->{borrowernumber}, firstname => $p->{firstname}, surname => $p->{surname}, cardnumber => $p->{cardnumber} -- 2.11.0