]> 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:11 +0000 (13:06 -0400)
commit905c8c4ae211c250abf6a9473120edd3da8ea062
tree0bd06fc6867c499b51ffb3d2971efc5c2842e93f
parent95c7c7da42edb6f5a3f9ec0c6aedd9f84e0f46cb
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