Skip to content
Snippets Groups Projects
Commit c79f3686 authored by Claas Kazzer's avatar Claas Kazzer :speech_balloon: Committed by Dorian Merz
Browse files

refs #11703

* limits genre/format display to SID 0 records
parent 82f65778
Branches
Tags
No related merge requests found
<? foreach ($this->driver->getFormats() as $format): ?>
<span class="format <?=$this->record($this->driver)->getFormatClass($format) ?>"><?=$this->transEsc($format) ?></span>
<? endforeach; ?>
<? /* New genre string to display nxt to format in RESULT LIST and RECORD/Detail View, #11703, CK */ ?>
<? /* New genre string to display nxt to format in RESULT LIST and RECORD/Detail View, #11703, limit to SID 0 CK */ ?>
<? $sourceID = $this->driver->getSourceID(); ?>
<? if ($sourceID == "0"): ?>
<? $genres = $this->driver->tryMethod('getGenreFacet');?>
<? if (!empty($genres)): ?>
<? foreach($genres as $genre): ?>
<span class="format"><?=$this->transEsc($genre)?></span>
<?endforeach;?>
<?endif;?>
<? endif; ?>
\ No newline at end of file
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