Bug 11912: fix problem where GetMarcISBN wrongly prepends a space to ISBNs
authorTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 9 Mar 2014 21:39:11 +0000 (18:39 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 18:24:12 +0000 (14:24 -0400)
commiteef3a2b36c31d3e3ed5cfb71fd40ccb6325cfda8
tree78c0a547d7b39621fe12a406b903131325255d5a
parent5af5298a44f334a4653829c9a7564001776c0975
Bug 11912: fix problem where GetMarcISBN wrongly prepends a space to ISBNs

This patch makes the logic inside GetMarcISBN simpler and
fixes the issue.

To test:
- Run the regression tests:
  prove -v t/db_dependent/Biblio.t
=> FAIL
- Apply the patch
- Run:
  prove -v t/db_dependent/Biblio.t
=> SUCCESS
- Verify that opac-detail.pl and catalogue/detail.pl look as usual regarding ISBN
- Sign off

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit c4900dc448aa029749ab27f98b59d1be6eb8bb14)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d2d5600cdc8d629a77e3eaad42b24ffdd3b1b59e)
C4/Biblio.pm