@@ -, +, @@ in authorities-search-results.inc (OPAC) - Apply patch - Verify that Authority search in OPAC works as before - Bonus test: create a new language 'aa-AA', verify that line above does not --- .../en/includes/authorities-search-results.inc | 28 ++++++++-------------- 1 file changed, 10 insertions(+), 18 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc @@ -1,11 +1,10 @@ [% BLOCK showreference %] -[%# - Parameters: - heading: the heading itself - linkType: currently 'seefrom' or 'seealso', controls the label for the entry - type: - authid: if it is a linked authority, its authid -%] +[%# Parameters: %] +[%# heading: the heading itself %] +[%# linkType: currently 'seefrom' or 'seealso', controls the label for the entry %] +[%# type: %] +[%# authid: if it is a linked authority, its authid %] + [% SET authidurl = '/cgi-bin/koha/opac-authoritiesdetail.pl?authid=' %] [% SET searchurl = '/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=' %] [% IF marcflavour == 'UNIMARC' %] @@ -93,11 +92,8 @@ used for/see from: [% FOREACH seefro IN summary.seefrom %]
- [% PROCESS showreference - heading=seefro.heading - linkType='seefrom' - type=seefro.type - %] + [%# Following on one line for translatability %] + [% PROCESS showreference heading=seefro.heading linkType='seefrom' type=seefro.type %]
[% END %] [% END %] @@ -105,12 +101,8 @@ see also: [% FOREACH seeals IN summary.seealso %]
- [% PROCESS showreference - heading=seeals.heading - linkType='seealso' - type=seeals.type - authid=seeals.authid - %] + [%# Following on one line for translatability %] + [% PROCESS showreference heading=seeals.heading linkType='seealso' type=seeals.type authid=seeals.authid %]
[% END %] [% END %] --