Since items have been removed from biblioitems.marcxml, ILS-DI service GetRecords return MARCXML for biblio only, without item fields. They should be returned as well.
Created attachment 13279 [details] [review] Bug 9019: Return item fields in ILS-DI GetRecords
Created attachment 13414 [details] [review] [SIGNED-OFF] Bug 9019: Return item fields in ILS-DI GetRecords Signed-off-by: Srikanth Dhondi <srikanth@catalyst.net.nz>
Hi Julian, I tested this and I am wondering if we really need the 952 to be included in the <marcxml> element. I found there is always a separate <item> element with all item related information. So after the patch, the information is doubled up. Is this intended? My test was: http://localhost/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=5+1+6
Hi Katrin, Not all item informations are returned in <item> elements (only mapped ones) and the subfield code information is loss. So yes, some informations appear twice, but in some cases we need more than those in <item>
Hi Julian, thank you for clarifying.
Created attachment 13986 [details] [review] [SIGNED-OFF] Bug 9019: Return item fields in ILS-DI GetRecords Signed-off-by: Srikanth Dhondi <srikanth@catalyst.net.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> 1) Activate ILS-DI in system preferencs 2) Access http://.../cgi-bin/koha/ilsdi.pl to see documentation 3) Try http://.../cgi-bin/koha/ilsdi.pl?service=GetRecords&id=12+14 with various valid biblionumbers for your system 4) Verify 952 is included in the <marcxml> and all other data displays correctly All tests pass. http://bugs.koha-community.org/show_bug.cgi?id=9010
This patch has been pushed to master.
I would like to ask a backport of this patch on 3.8.x and 3.10.x. Thank you.
Pushed to 3.10.x and 3.8.x will be in 3.10.6 and 3.8.13