Bug 14306: Show URL from MARC21 field 555$u under Title Notes/Descriptions
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 1 Jun 2015 10:58:25 +0000 (12:58 +0200)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Mon, 7 Mar 2016 17:58:32 +0000 (17:58 +0000)
commitcaae161a4e64280ba9d8fbd0a5028a6818b3a2a6
tree80ffd5bafb75a27fa8551feb1381a5f574b56df5
parent6f25627519a080d90068719a010ed228372a6060
 Bug 14306: Show URL from MARC21 field 555$u under Title Notes/Descriptions

This patch includes:
[1] Add some logic to GetMarcNotes to embed the contents of MARC21 field
    555$u in a html anchor tag.
[2] Add a unit test for GetMarcNotes in Biblio.t
[3] Remove calls to GetMarcNotes from sendbasket.pl (opac and staff).
    A closer look revealed that the data was not used; the notes in the
    mail of sendbasket are taken from GetBiblioData.

Test plan:
[1] Edit a record. Add one or two URLS in 555$u. Add something in 500$a too.
[2] Check if you can click the URLs in opac and staff detail tab Notes or
    Descriptions.
[3] Run the unit test t/db../Biblio.t
[4] Add something in the cart. Click More Details and send the cart.
    Verify that you have something in Notes (from 500$a).

Signed-off-by: Marc Veron <veron@veron.ch>
Followed test plan. Works as expected. QA tools OK.

Tested with all patches together, works as expected
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Biblio.pm
basket/sendbasket.pl
opac/opac-sendbasket.pl
t/db_dependent/Biblio.t