diff --git a/module/fid/src/View/Helper/Root/GetIt.php b/module/fid/src/View/Helper/Root/GetIt.php index f058c84f3cb9dc038073c7e9ecc406d76f03f975..d02fd129cf1374717f08c6ca689062019ba71e1e 100644 --- a/module/fid/src/View/Helper/Root/GetIt.php +++ b/module/fid/src/View/Helper/Root/GetIt.php @@ -414,9 +414,15 @@ class GetIt extends AbstractHelper public function hideNotice() { if (in_array($this->sid, $this->_getSourceIds('source_idsV8'))) { - if (!in_array('Free', $this->facetAvail) + if (in_array('Online', $this->facetAvail) && (preg_grep($this->_getNonSourceIds('source_idsV8_1'), $this->format) - || preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format)) + || preg_grep($this->_getNonSourceIds('source_idsV8_5'), $this->format) + || preg_grep($this->_getNonSourceIds('source_idsV8_6'), $this->format)) + ) { + return false; + } elseif (in_array('Local', $this->facetAvail) + && (preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format) + || preg_grep($this->_getNonSourceIds('source_idsV8_2'), $this->format)) ) { return false; }