From e0c7a42a85951de1e258c9a039f2a4a0934f49ef Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 9 Oct 2014 13:36:21 -0400 Subject: [PATCH] Bug 13062 - Cataloging search no longer passes search terms to z39.50 search If you search the catalog and click new from z39.50, your term is put in the search popup. Doing the same thing from the cataloging search no longer works. Test Plan: 1) Do a cataloging search 2) Click "New from Z39.50/SRU" 3) Note you get a blank search form 4) Apply this patch 5) Repeat steps 1-2 6) Note the search time is now pre-populated Signed-off-by: Veronica Lencinas Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 21a7140008..8a02dd56b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -31,7 +31,7 @@ function GetZ3950Terms(fw){ var strQuery="&frameworkcode=" + fw; [% FOREACH z3950_search_param IN z3950_search_params %] - strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.encvalue |uri %]"; + strQuery += "&" + "[% z3950_search_param.name | uri %]" + "=" + "[% z3950_search_param.value | uri %]"; [% END %] return strQuery; } -- 2.39.5