From be2c2d133ba985243253bbdf499860e4ef5e84a5 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 --- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 21a7140..8a02dd5 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; } -- 1.7.2.5