From 85791f4abab19d0b1a7f73d8fbec2d0043d5d871 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 10 Nov 2022 20:59:28 +0000 Subject: [PATCH] Bug 32172: Remove biblionumber param from Z3950 popup on results This param is not defined in routine, who knows whereit comes from To test: 1 - Enable coce and coce intranet, select all providers: https://coce.bywatersolutions.com 2 - Search on staff client 3 - Click Z3950 search 4 - Note url contains a random biblionumber 5 - Apply patch 6 - Repeat 7 - No biblionumber Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/js/pages/results.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js index 5320b3b3af..ee8bc83d24 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js +++ b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js @@ -393,7 +393,7 @@ function addToList () { /* this function open a popup to search on z3950 server. */ function PopupZ3950() { if( strQuery ){ - window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=" + biblionumber + strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); + window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?" + strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); } } -- 2.39.5