@@ -, +, @@ and OPACPopupAuthorsSearch are both off - Clicking an additional author or subject link should directly trigger the correct search without an JavaScript error. - Clicking an additional author or subject link should trigger a modal window where you can select options for searching. Checking boxes and submitting the form should perform the correct search. - Clicking an additional author or subject link should directly trigger the correct search without an JavaScript error. (OPACPopupAuthorsSearch only works with the non-XSL view). --- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 30 ++++++++++------------ 1 file changed, 13 insertions(+), 17 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -154,7 +154,7 @@ @@ -164,9 +164,14 @@ [% authorsloop = loop %] [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] [% MARCAUTHOR_SUBFIELDS_LOO.separator %] - [% MARCAUTHOR_SUBFIELDS_LOO.value %] + [% ELSE %] + [% MARCAUTHOR_SUBFIELDS_LOO.value %] + [% END %] [% END %] [% IF (MARCAUTHOR.authoritylink) %] @@ -281,7 +286,11 @@ [% subjectsloop = loop %] [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% SUBFIELD.separator %] - [% SUBFIELD.value %] + [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %] + [% SUBFIELD.value %] + [% ELSE %] + [% SUBFIELD.value %] + [% END %] [% END %] [% IF (MARCSUBJCT.authoritylink) %] @@ -1745,25 +1754,12 @@ //