[Koha-bugs] [Bug 13164] Incorrect ISSN visualization on the normal view if invalid/cancelled ISSN present

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 29 20:35:50 CET 2014


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 32939
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32939&action=edit
Bug 13164: Incorrect ISSN visualization on the normal view if invalid/cancelled
ISSN present

Currently, 022$z (and 011$z for UNIMARC) occurences are not shown, but the XSLT
logic used introduces punctuation characters for those $z occurences.

This patch adds a check for the existence of subfield a, and only loops
on $a subfields.

To test:
- Create/have a record with 022$z (or 011$z on UNIMARC) but no 022$a (no 011$a
on UNIMARC).
- Open the detail page for the record (on both OPAC and staff).
=> FAIL: the ISSN label and ';' and '.' characters incorrectly shown.
- Repeat mixing with 022$a occurences to notice the bug.
- Apply the patch, reload
=> SUCCES: ISSN label shows only on the presence of a $a, and $z are skipped.
           no matter how many ISSN fields you add.
- 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