]> git.evergreen-ils.org Git - evergreen/tadl.git/commit
Finish Added Content by record ID
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Apr 2012 08:23:28 +0000 (04:23 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 25 Jul 2012 23:37:06 +0000 (19:37 -0400)
commitfcc04796a10eef2a8c5c9a7cb5257a934c9739c7
tree46658670c1c1890265e3939c92a3a40f30844e4a
parentd790bc7a250762e4acf76b0d0b4b9543f49a474a
Finish Added Content by record ID

OpenILS::WWW::AddedContent now supports fetching content by record ID.

To start, this lets us request content in a way that uses both ISBN
and UPC as keys, assuming the AC handler and provider support it.

The previous method of requesting AC data continues to be
supported, and should be unaffected.

Business::ISBN is used to clean ISBN values when fetching by record ID

If we find no valid ISBN and no UPC values in the record,
do not attempt to call an AC handler. This will need
to change when we have AC handlers that rely on other
possible keys.

Attempt to serve from cache before fetching keys from the bib
record in the database.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm