@@ -, +, @@ views - OPACPopupAuthorsSearch ENABLED, OPACXSLTDetailsDisplay "default" - OPACPopupAuthorsSearch ENABLED, OPACXSLTDetailsDisplay empty - OPACPopupAuthorsSearch DISABLED, OPACXSLTDetailsDisplay "default" - OPACPopupAuthorsSearch DISABLED, OPACXSLTDetailsDisplay empty --- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 162 +++++++++++---------- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 1 + 2 files changed, 88 insertions(+), 75 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -141,60 +141,18 @@ [% IF ( MARCAUTHORS ) %]
Additional authors: - [% IF OPACPopupAuthorsSearch %] - - - [% END # /OPACPopupAuthorsSearch %] - [% FOREACH MARCAUTHOR IN MARCAUTHORS %] - [% authorsloop = loop %] [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %] - [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %] - [% MARCAUTHOR_SUBFIELDS_LOO.value | html %] + [% IF ( MARCAUTHOR.authoritylink ) %] + [% ELSE %] - [% MARCAUTHOR_SUBFIELDS_LOO.value | html %] + [% END %] + [% MARCAUTHOR_SUBFIELDS_LOO.value | html %] [% END %] [% IF (MARCAUTHOR.authoritylink) %] - + [% END %] [% IF IDREF and MARCAUTHOR.unimarc3 %] IdRef @@ -1403,6 +1361,30 @@ [% END %][%# end of items_table block %] +[% IF ( OPACPopupAuthorsSearch ) %] + + +[% END %] + [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] @@ -1426,6 +1408,7 @@ [% END %] -[% IF OPACPopupAuthorsSearch %] - -[% END # / IF OPACPopupAuthorsSearch %] [% END %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1566,6 +1566,7 @@ /cgi-bin/koha/opac-search.pl?q=au:"" + contributors --