From 4e6c793488735ef1bd0cc3af22f700c96da7ff42 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 9 Apr 2018 12:55:38 +0200 Subject: [PATCH] Bug 18904: (QA follow-up) Do not put authid in searchbox of blinddetail Content-Type: text/plain; charset=utf-8 Adding trivial test if subfield equals 9. Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js index df72d10..9085ffb 100644 --- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js +++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js @@ -181,6 +181,7 @@ define( [ 'marc-record', 'koha-backend', 'preferences', 'text-marc', 'widget' ], var mainstring= ''; for(i=0;i < subfields.length ;i++){ if ( authInfo[field.tag].subfield == subfields[i].code ) continue; + if( subfields[i].code == '9' ) continue; mainstring += subfields[i].text+' '; } newin=window.open("../authorities/auth_finder.pl?source=biblio&authtypecode="+authtype+"&index="+index+"&value_mainstr="+encodeURI(mainmainstring)+"&value_main="+encodeURI(mainstring), "_blank",'width=700,height=550,toolbar=false,scrollbars=yes'); -- 2.1.4