]> git.koha-community.org Git - koha.git/commit
Bug 12672: GetMarcISBN should return the corresponding subfield
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 29 Jul 2014 16:55:44 +0000 (13:55 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 3 Aug 2014 15:24:13 +0000 (12:24 -0300)
commit7d9c554b5fbdd89f4bd66ea9f12b9b29c06b2db2
tree05a694ad370c9265332a2b2b519f06658164f569
parenta111d3149dfd1872c0232b2349baf0e8b0c16048
Bug 12672: GetMarcISBN should return the corresponding subfield

The current GetMarcISBN implementation returns an array of ISBN
in which all subfields of a ISBN field occurence are appended.

For example, in MARC21, if you have $a and $c defined, they will
be appended for output. This happens for $z.

To reproduce:
- Run the regression tests attached to this bug.

To test:
- Apply the patch, regression tests pass.
- Sign off

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Now test pass, no koha-qa errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Biblio.pm