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)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 18:21:15 +0000 (18:21 +0000)
commitc4900dc448aa029749ab27f98b59d1be6eb8bb14
treefa5094c12244a885be70125ba31610e564c3fa12
parentda7dd4ed8c2462597712a11b0a018db87b1fef87
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>
C4/Biblio.pm