- [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type %]
+ [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]
[% END %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt
@@ -64,7 +64,7 @@ function searchauthority() {
[% ELSE %]
[% END %]
- [% PROCESS authresult summary=resul.summary %] |
+ [% PROCESS authresult summary=resul.summary link="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=any&operator=contains&orderby=HeadingAsc&value=" %] |
Details |
[% UNLESS ( resul.isEDITORS ) %]
--- a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc
+++ a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc
@@ -2,19 +2,22 @@
[% IF marcflavour == 'UNIMARC' %]
[% SWITCH type %]
[% CASE 'broader' %]
- [% heading %] --
+ [% heading | html %] --
[% CASE 'narrower' %]
- [% heading %] --
+ [% heading | html %] --
[% CASE 'narrower' %]
- [% heading %] --
+ [% heading | html %] --
[% CASE 'seefrom' %]
- [% heading %] --
+ [% heading | html %] --
[% CASE 'seealso' %]
- [% heading %] --
+ [% heading | html %] --
[% END %]
[% ELSE %]
- [% IF ( label ) %][% label %][% END %]
- [% heading %]
+ [% IF ( label ) %][% label | html %][% END %]
+
+ [% IF ( linkpath && search ) %][% heading | html %]
+ [% ELSE %][% heading | html %][% END %]
+
[% UNLESS ( type=='seefrom' || type=='seealso' ) %][% SWITCH type %]
[% CASE 'earlier' %](Earlier heading)
[% CASE 'later' %](Later heading)
@@ -22,35 +25,35 @@
[% CASE 'musical' %](Musical composition)
[% CASE 'broader' %](Broader heading)
[% CASE 'narrower' %](Narrower heading)
- [% CASE %]([% type %])
+ [% CASE %]([% type | html %])
[% END %][% END %]
[% END %]
[% END %]
[% BLOCK authresult %]
- [% IF ( summary.summary ) %][% summary.summary %]:[% END %]
+ [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
[% UNLESS ( summary.summaryonly ) %]
[% FOREACH authorize IN summary.authorized %]
- [% authorize %]
+ [% authorize | html %]
[% END %]
[% IF ( marcflavour == 'UNIMARC' ) %]
[% FOREACH note IN summary.notes %]
- [% note %]
+ [% note | html %]
[% END %]
[% FOREACH seefro IN summary.seefrom %]
- [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %]
+ [% PROCESS showreference heading=seefro.heading label="" type=seefro.type | html %]
[% END %]
[% ELSE %]
[% IF ( summary.seefrom ) %]
[% FOREACH seefro IN summary.seefrom %]
- [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type %]
+ [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type search='' %]
[% END %]
[% END %]
[% IF ( summary.seealso ) %]
[% FOREACH seeals IN summary.seealso %]
- [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type %]
+ [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]
[% END %]
[% END %]
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt
@@ -57,7 +57,7 @@
[% ELSE %]
|