Skip to content
Snippets Groups Projects
Commit 9c678c9b authored by Frank Morgner's avatar Frank Morgner
Browse files

refs #13645 [hotfix]

* fixes direct request to RecordDriver method: getSourceID by try method call statement
* fixes list view by finc/../RecordDriver/SolrDefault/format-list.phtml
parent 4d918702
No related merge requests found
......@@ -5,7 +5,7 @@
<span class="format <?=$this->record($this->driver)->getFormatClass($format) ?>"><?=$translated_format ?></span>
<? endforeach; ?>
<? /* 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(); ?>
<? $sourceID = $this->driver->tryMethod('getSourceID'); ?>
<? if ($sourceID == "0"): ?>
<? $genres = $this->driver->tryMethod('getGenreFacet');?>
<? if (!empty($genres)): ?>
......
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