]> git.koha-community.org Git - koha.git/commit
Bug 21301: Remove patron informations in issues for GetRecords ILS-DI service
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Oct 2019 14:28:21 +0000 (16:28 +0200)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 20 Jan 2021 01:46:37 +0000 (01:46 +0000)
commit177b6ca96eb8c080be35a67ef648b6c58892e50e
treef577b92abe1f4ec6dd08f35c5c92bc659a821cd8
parent2648c25224a9acc4de0a2daf38f84ed876f02a8f
Bug 21301: Remove patron informations in issues for GetRecords ILS-DI service

Actually, the GetRecords service gives many information :
bibliographic data (marcxml field)
item data (items field)
issue data (issues field)

The issue data should not be sent by these service, its a privacy problem.
Biblio title and author are redundant.
This patch changes to use Koha::Checkouts to get issues informations with only the addition of item barcode.

Test plan :
1) Enable ILS-DI webservice
2) Checkout an item
3) Go to {opac}/cgi-bin/koha/ilsdi.pl?service=GetRecords&id={biblionumber}
4) Check the issues 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 8ae0ef6eb529cb866914ee8cffba469a9486a53c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b6d2ea13c7517ecfa913a1f7d85e6ab3b8775f1e)

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