Bug 21301: Remove patron informations in reserves for GetRecords ILS-DI service
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 3 Oct 2019 13:43:56 +0000 (15:43 +0200)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 20 Jan 2021 01:46:49 +0000 (01:46 +0000)
commit4572fe52bd2aec802e86bc19f1d9ac18c7fe3c91
tree6df23dea715008f90829aebd615977072830dbd9
parent177b6ca96eb8c080be35a67ef648b6c58892e50e
Bug 21301: Remove patron informations in reserves for GetRecords ILS-DI service

Actually, the GetRecords service gives many information :
borrowernumber (reserves field)

The issue data should not be sent by these service, its a privacy problem.

Test plan :
1) Enable ILS-DI webservice
2) Place hold on an item
3) Go to {opac}/cgi-bin/koha/ilsdi.pl?service=GetRecords&id={biblionumber}
4) Check the reserves tag content

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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 37c042b9f3d3c307dac8e9205c65227e3c956ee3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 813eb5afc74478f574510c0fdc197ed2ffdf54e3)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/ILSDI/Services.pm