@@ -53,7 +74,7 @@
[% IF summary.seealso %]
[% FOREACH see IN summary.seealso %]
- [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
+ [% PROCESS showreference heading=see.heading linkType="" type=see.type search='' %]
[% IF ! loop.last %] ; [% END %]
[% END %]
@@ -71,14 +92,23 @@
[% IF ( summary.seefrom ) %]
[% FOREACH seefro IN summary.seefrom %]
- [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type search='' %]
+ [% PROCESS showreference
+ heading=seefro.heading
+ linkType='seefrom'
+ type=seefro.type
+ %]
[% END %]
[% END %]
[% IF ( summary.seealso ) %]
[% FOREACH seeals IN summary.seealso %]
- [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]
+ [% PROCESS showreference
+ heading=seeals.heading
+ linkType='seealso'
+ type=seeals.type
+ authid=seeals.authid
+ %]
[% 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
@@ -1,4 +1,11 @@
[% BLOCK showreference %]
+
[% SET authidurl = '/cgi-bin/koha/opac-authoritiesdetail.pl?authid=' %]
[% SET searchurl = '/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operatorc=contains&marclistc=mainentry&and_orc=and&orderby=HeadingAsc&value=' %]
[% IF marcflavour == 'UNIMARC' %]
@@ -14,14 +21,14 @@
[% END %]
[% ELSE %]
- [% IF ( type=='seefrom' ) %]
+ [% IF ( linkType=='seefrom' ) %]
used for/see from:
- [% ELSIF ( type=='seealso' ) %]
+ [% ELSIF ( linkType=='seealso' ) %]
see also:
[% END %]
- [% IF ( type=='seealso' ) %]
+ [% IF ( linkType=='seealso' ) %]
[% IF ( authid ) %]
[% heading | html %]
[% ELSE %]
@@ -67,7 +74,7 @@
[% IF summary.seefrom %]
[% FOREACH see IN summary.seefrom %]
- [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
+ [% PROCESS showreference heading=see.heading linkType="" type=see.type search='' %]
[% IF ! loop.last %] ; [% END %]
[% END %]
@@ -75,7 +82,7 @@
[% IF summary.seealso %]
[% FOREACH see IN summary.seealso %]
- [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
+ [% PROCESS showreference heading=see.heading linkType="" type=see.type search='' %]
[% IF ! loop.last %] ; [% END %]
[% END %]
@@ -95,7 +102,9 @@
[% PROCESS showreference
heading=seefro.heading
+ linkType='seefrom'
type=seefro.type
+ authid=seefro.authid
%]
[% END %]
@@ -105,6 +114,7 @@
[% PROCESS showreference
heading=seeals.heading
+ linkType='seealso'
type=seeals.type
authid=seeals.authid
%]
--