diff --git a/module/finc/src/finc/ILS/Driver/FincILS.php b/module/finc/src/finc/ILS/Driver/FincILS.php index ea7d4a033e631867d58eb542350d9037d032683f..c248d02853cacd1f0ee3692fbbbd1e9817b821ec 100644 --- a/module/finc/src/finc/ILS/Driver/FincILS.php +++ b/module/finc/src/finc/ILS/Driver/FincILS.php @@ -1381,7 +1381,12 @@ class FincILS extends PAIA implements LoggerAwareInterface list($methodName, $methodReturn) = explode(':', $value); // if we have one mismatch we can already stop as this record does // not qualify for querying the ILS - if (!in_array($methodReturn, (array) $this->_getRecord($id)->tryMethod($methodName))) { + if ($methodReturn === ""){ + if (!is_null($this->_getRecord($id)->tryMethod($methodName))) { + return false; + } + } + elseif (!in_array($methodReturn, (array) $this->_getRecord($id)->tryMethod($methodName))) { return false; } } diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index 42faaa8d2611ffd83a66bf2b9e287bacc103f890..5b8928a98bf6f31a6c6b932a77a8a5146487fc3b 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -226,7 +226,7 @@ if (!empty($holdingTitleHold)): ?> <? /* finc-specific: nxt 3 lines - #7841@56988450 - CK */ ?> <? if ($holdingsEmpty && $this->driver->tryMethod('getLocalOrderInformation') == 'e'): ?> - <h3><?=$this->transEsc("This item has already been ordered and will be available shortly")?></h3> + <h3><?=$this->transEsc("title_ordered_by_library")?></h3> <? endif; ?> <? /* finc-specific - external access - #9245 - CK */ ?>