From 66c2f78aa32dda3d639f5541db5cf69f509a303e Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Wed, 30 Oct 2013 19:36:41 +0100 Subject: [PATCH] Bug 11174: fix OPAC search links built from authority 5xx fields In the templates opac-authoritiessearchresultlist of prog and bootstrap the incorrect parameter 'valuec' is changed to 'value' To test: 1) Insert an authority record with a 5xx field (on MARC21 or UNIMARC) 2) Index the record 3) Search for the record in using OPAC authorities search. 4) Click one of the "see also" links built from the 5xx field, the link doesn't work 5) Apply the patch 6) Close the browser 7) Open the opac and select the english interface 8) Redo the search 9) Now the link works 10) To use the patch in others languages you need to regenerate the templates. Signed-off-by: Marcel de Rooy Tested with bootstrap. Signed-off-by: Jonathan Druart Following commit remove the use to valuec: commit 31f41e2c1db9d8dca82e0249050acb8f906c8164 Bug 8206: Specify index in OPAC authority search Signed-off-by: Galen Charlton (cherry picked from commit 09fcd6980301bae3daad68f8cc27a2d5e7d488e4) Signed-off-by: Fridolin SOMERS (cherry picked from commit 27596b0c6a808fda6a08abb4cd46a98025e3a38f) Signed-off-by: Tomas Cohen Arazi Removed the Bootstrap bits. --- .../prog/en/modules/opac-authoritiessearchresultlist.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt index 71ad40e6ac..6f889b0f12 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt @@ -59,7 +59,7 @@ [% ELSE %] [% END %] - [% PROCESS authresult summary=resul.summary link="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operatorc=contains&marclistc=mainentry&and_orc=and&orderby=HeadingAsc&valuec=" %] + [% PROCESS authresult summary=resul.summary link="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operatorc=contains&marclistc=mainentry&and_orc=and&orderby=HeadingAsc&value=" %] [% resul.authtype %] [% UNLESS ( resul.isEDITORS ) %] -- 2.39.5