From 5448a8d05b5a8b476eb42f1afdbb0afc26444322 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Mon, 28 Mar 2016 11:03:59 -0400 Subject: [PATCH] LP1559281: Allow Baker and Taylor ISBNs For Content Cafe, jam a B&T entry into the hash so that Business::ISBN doesn't register them as invalid prefix ISBNs. Signed-off-by: Thomas Berezansky --- Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm index 4dd5b0c6fd..36f63aa0eb 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm @@ -9,6 +9,9 @@ use XML::LibXML; use MIME::Base64; use DateTime; +# Hack country_data to allow B&T fake ISBNs +$Business::ISBN::country_data{631} = ['B&T' => ['0000000' => '9999999']]; + my $AC = 'OpenILS::WWW::AddedContent'; my $post_url = 'http://contentcafe2.btol.com/ContentCafe/ContentCafe.asmx/XmlPost'; -- 2.11.0