diff --git a/module/fid/src/VuFind/Resolver/Driver/Ezb.php b/module/fid/src/VuFind/Resolver/Driver/Ezb.php index dad70e2851f81998ceaa587304cf8a3cd25d83ff..4ded9fc32cbf086281b4e453193831bc40fdccda 100644 --- a/module/fid/src/VuFind/Resolver/Driver/Ezb.php +++ b/module/fid/src/VuFind/Resolver/Driver/Ezb.php @@ -141,6 +141,8 @@ class Ezb extends BaseEzb $this->getElectronicResults('2', 'Licensed', $records, $xpath); $this->getElectronicResults('3', 'Partially licensed', $records, $xpath); $this->getElectronicResults('4', 'Not free', $records, $xpath); + $this->getElectronicResults('10', 'Not free', $records, $xpath); + $this->getElectronicResults('-1', 'Not free', $records, $xpath); // get results for print, only if available $this->getPrintResults('2', 'Print available', $records, $xpath); diff --git a/themes/fid/templates/ajax/resolverLinks-button.phtml b/themes/fid/templates/ajax/resolverLinks-button.phtml index 9a30e7fc5102ff52e0666f1eda600ffe46392888..a25b35b62b382b11112b1717b9b8f6d8253742fa 100644 --- a/themes/fid/templates/ajax/resolverLinks-button.phtml +++ b/themes/fid/templates/ajax/resolverLinks-button.phtml @@ -6,7 +6,8 @@ $user = $account->isLoggedIn(); // $controllerClass = 'controller:' . $this->record($this->driver)->getController(); $controllerClass = 'controller:SolrMarcFincPDA'; ?> -<?php if (in_array('4', $this->showOrderButton) && $user): ?> +<?php /* refs #17647: status 4, 10 or -1 can display the button - GG */ ?> +<?php if (preg_grep('/(4|10|-1)/', $this->showOrderButton) && $user): ?> <a class="btn btn-primary pda-button <?=$controllerClass?> full-order" data-lightbox href="<?=$this->url('record-fidsubitoarticle', array('id' => $this->recordId))?>" rel="nofollow"> <?=$this->transEsc('getit_order')?> </a>