@@ -, +, @@ --- C4/AuthoritiesMarc.pm | 4 ++-- .../en/includes/authorities-search-results.inc | 12 ++++++++++++ .../en/includes/authorities-search-results.inc | 17 +++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) --- a/C4/AuthoritiesMarc.pm +++ a/C4/AuthoritiesMarc.pm @@ -979,8 +979,8 @@ sub BuildSummary { # Other forms @otherscript = map { { - lang => $_->subfield('8') || '', - term => $_->subfield('a'), + lang => length ($_->subfield('8')) == 6 ? substr ($_->subfield('8'), 3, 3) : $_->subfield('8') || '', + term => $_->subfield('a') . ($_->subfield('b') ? ', ' . $_->subfield('b') : ''), direction => 'ltr', field => $_->tag, } } $record->field('7..'); --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc @@ -44,6 +44,14 @@ [% END %] [% END %] + [% IF summary.seefrom %] +
+ [% FOREACH see IN summary.seefrom %] + [% PROCESS showreference heading=see.heading label="" type=see.type search='' %] + [% IF ! loop.last %] ; [% END %] + [% END %] +
+ [% END %] [% IF summary.seealso %]
[% FOREACH see IN summary.seealso %] @@ -87,6 +95,10 @@ [% CASE ['it', 'ita'] %]Italian [% CASE ['de', 'ger', 'deu'] %]German [% CASE ['es', 'spa'] %]Spanish + [% CASE ['heb'] %]Hebrew + [% CASE ['ara'] %]Arabic + [% CASE ['gre'] %]Greek (modern) + [% CASE ['grc'] %]Greek (to 1453) [% CASE %][% lang %] [% END %] [% END %] --- a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc +++ a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc @@ -44,6 +44,14 @@ [% END %]
[% END %] + [% IF summary.seefrom %] +
+ [% FOREACH see IN summary.seefrom %] + [% PROCESS showreference heading=see.heading label="" type=see.type search='' %] + [% IF ! loop.last %] ; [% END %] + [% END %] +
+ [% END %] [% IF summary.seealso %]
[% FOREACH see IN summary.seealso %] @@ -79,3 +87,12 @@ [% END %] [% END %] [% END %] +[% BLOCK language %] + [% SWITCH lang %] + [% CASE ['heb'] %]Hebrew + [% CASE ['ara'] %]Arabic + [% CASE ['gre'] %]Greek (modern) + [% CASE ['grc'] %]Greek (to 1453) + [% CASE %][% lang %] + [% END %] +[% END %] --