LP1559281: Allow Baker and Taylor Fake ISBNs user/stompro/lp1559281_bt_allow_fake_isbn
authorThomas Berezansky <tsbere@mvlc.org>
Mon, 28 Mar 2016 15:03:59 +0000 (11:03 -0400)
committerJosh Stompro <stomproj@larl.org>
Wed, 6 Apr 2016 20:54:41 +0000 (15:54 -0500)
commit12f8d944d2c740ef89a0747493965e9d350fe78d
tree3a55b43ed7ad5bf6ad12073beab4920e8bf88937
parent381aee022c11ddb512be85cc0e105d3353a37f76
LP1559281: Allow Baker and Taylor Fake ISBNs

For Content Cafe, jam two B&T entrys into the hash so that Business::ISBN
doesn't register them as invalid prefix ISBNs.

B&T uses internal ISBN's with country codes 630 and 631 for materials
ordered through them when no assigned ISBN exists.  The ContentCafe
added content service knows about these ISBNs, but they are not generally
used by other providers.

To Test:  This only works if you are using the ContentCafe added content provider.

 - Before Patch -
1. Add the isbn 9786315820243 as the only isbn on a record. Remove UPCs also..
2. Clear the added content cache by restarting memcached or using the staff link.
3. View record in catalog and you should see no cover art.

 - After Patch -
1. Clear the added content cache.
2. View the record in the catalog and you should now see cover art for the title
"Video games: the movie"

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm