[Koha-bugs] [Bug 12829] 020z not showing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 26 23:50:04 CEST 2014


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 31167
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31167&action=edit
Bug 12829: (MARC21) properly skip 020z when rendering ISBN for normal record
display

Currently, 020$z oocurences are not shown, but the XSLT logic used is
introducing punctuation characters for those $z occurences.

This patch adds a check for the existence of subfield a, and skips otherwise.

To test:
- Create/have a record with 020$z (one or more) but no 020$a.
- Open the detail page for the record (on both OPAC and staff).
=> FAIL: the ISBN label and ';' and '.' characters incorrectly shown.
- Repeat mixing with 020$a occurences to notice the bug.
- Apply the patch, reload
=> SUCCES: ISBN label shows only on the presence of a 020$a, and 020$z are
skipped.
- Sign off :-D

Regards
To+

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


More information about the Koha-bugs mailing list