]> git.evergreen-ils.org Git - evergreen/tadl.git/commit
Fix detection of empty Syndetics AC data elements
authorJeff Godin <jgodin@tadl.org>
Thu, 14 Mar 2013 18:15:28 +0000 (14:15 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 8 May 2013 15:55:17 +0000 (11:55 -0400)
commitc1fbf206283e52db46cc845ac4901c09d5ed501e
tree1a8ff5417c05649cfba2563c4ec32e0d51a81b13
parent8237cf59e7c3053ade4f91c3cea931012627a389
Fix detection of empty Syndetics AC data elements

Due to a change in how the vendor responds to requests for data
elements which are not present for a requested title, we need to
change how we detect "empty" data elements in the "data_exists"
function.

First, we check for the new "No Data Available" title element, then
we check for the previously-used value of "error".

This change resolves the symptom where the catalog would display
tabs for "Author Notes", "Excerpt", "Table of Contents", on every
record in the catalog, even when clicking each tab would show that
the content was not present / available.

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