[Koha-bugs] [Bug 11912] GetMarcISBN wrongly prepends a space to ISBNs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 10 16:11:00 CET 2014


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 26018
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26018&action=edit
Bug 11912: (refactoring followup) GetMarcISBN should implement its advertised
API

The current implementation of GetMarcISBN contradicts the documented API.
It currently returns an array of hashes with only one key (marcisbn) which
doesn't add any value to it.

I chose to fix GetMarcISBN to honour the API instead of changing the docs,
because it seems a really silly change.

To test:
- Run:
  prove t/db_dependent/Biblio.t
=> SUCCESS
- catalogue/detail.pl should correctly show ISBNs.
- opac/opac-detail.pl should correctly show ISBNs in both prog and bootstrap.
- opac-opac-sendshelf.pl should correctly show ISBNs in the email.
- Sign off :-D

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

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


More information about the Koha-bugs mailing list