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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 27 14:47:36 CEST 2014


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31167|0                           |1
        is obsolete|                            |

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 31182
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31182&action=edit
[SIGNED-OFF] 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+

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list