From dff72d446e7aee4ef5ff180db29a51454625bebe 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 Adding trivial test if subfield equals 9. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- 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 df72d108bb..9085ffb247 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.39.5