Skip to content
Snippets Groups Projects
Commit 8e70609f authored by Robert Lange's avatar Robert Lange
Browse files

Merge branch 'instance/fid' into instance/fid_adlr

parents d7de3157 89678079
No related merge requests found
......@@ -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);
......
......@@ -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>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment