Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Anzeige Feld 580 in Beschreibung
Browse files Browse the repository at this point in the history
* Nachzug, war in alter Oberfläche bereits vorhanden
* siehe auch #300
  • Loading branch information
witzigs committed Jun 19, 2015
1 parent 64f7181 commit ff14b31
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class SolrMarc extends VuFindSolrMarc implements SwissbibRecordDriver
'Series', 'AltTitle', 'NewerTitles', 'PreviousTitles',
'GeneralNotes', 'DissertationNotes', 'BibliographyNotes', 'AccessRestrictions',
'ProductionCredits', 'OriginalTitle', 'PerformerNote', 'Awards', 'CitationNotes',
'OriginalVersionNotes', 'CopyNotes', 'SystemDetails'
'OriginalVersionNotes', 'CopyNotes', 'SystemDetails', 'RelationshipNotes'
);


Expand Down
15 changes: 14 additions & 1 deletion themes/sbvfrd/templates/RecordTab/description.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ $prevTitles = $record->getPreviousTitles();
$diss = $record->getDissertationNotes();
$bib = $record->getBibliographyNotes();
$access = $record->getAccessRestrictions();
$related = $record->getRelationshipNotes();
$credits = $record->getProductionCredits();
$origtitle = $record->getOriginalTitle();
$perfomer = $record->getPerformerNote();
Expand All @@ -177,7 +178,7 @@ $prevTitles = $record->getPreviousTitles();
?>

<? if (!empty($notes) or !empty($freq) or !empty($contDates) or !empty($diss) or
!empty($bib) or !empty($access) or !empty($credits) or !empty($awards) or
!empty($bib) or !empty($access) or !empty($related) or !empty($credits) or !empty($awards) or
!empty($citenotes) or !empty($orignotes) or !empty($copynotes) or
!empty($origtitle) or !empty($perfomer) or !empty($system)): ?>
<? $contentDisplayed = true; ?>
Expand Down Expand Up @@ -254,6 +255,18 @@ $prevTitles = $record->getPreviousTitles();
</tr>
<? endif; ?>

<? /* Display linking entry notes (field 580) */ ?>
<? if (!empty($related)): ?>
<tr>
<th><?= $this->transEsc('Related Items') ?>: </th>
<td>
<? foreach ($related as $field): ?>
<?= $this->escapeHtml($field) ?><br/>
<? endforeach; ?>
</td>
</tr>
<? endif; ?>

<? /* Display production credit notes (field 508) */ ?>
<? if (!empty($credits)): ?>
<tr>
Expand Down

0 comments on commit ff14b31

Please sign in to comment.