]> git.evergreen-ils.org Git - Evergreen.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)
committerBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 17:06:17 +0000 (13:06 -0400)
commitb613dd946f58610e268925c25c65eed413836ef6
tree18e91fd8b60086d551a39373770d7f11b2b73953
parent9cfea167bfc28a4114a7e560fb26ec7294d9d7be
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