[Koha-bugs] [Bug 14306] Show URL from MARC21 field 555$u under Title Notes (OPAC) or Descriptions (Staff)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 1 15:12:04 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14306

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 39741
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39741&action=edit
[Signed-off] 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).

Followed test plan. Works as expected. QA tools OK.
Signed-off-by: Marc Véron <veron at veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list