Bugzilla – Attachment 73857 Details for
Bug 18904
Advanced editor - Rancor - Add authority support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18904: (QA follow-up) Do not put authid in searchbox of blinddetail
Bug-18904-QA-follow-up-Do-not-put-authid-in-search.patch (text/plain), 1.41 KB, created by
Marcel de Rooy
on 2018-04-09 11:15:52 UTC
(
hide
)
Description:
Bug 18904: (QA follow-up) Do not put authid in searchbox of blinddetail
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-04-09 11:15:52 UTC
Size:
1.41 KB
patch
obsolete
>From 4e6c793488735ef1bd0cc3af22f700c96da7ff42 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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 <m.de.rooy@rijksmuseum.nl> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18904
:
64859
|
64860
|
65144
|
65145
|
65863
|
65864
|
65865
|
65866
|
68678
|
68679
|
68680
|
68681
|
71747
|
71748
|
71749
|
71750
|
71751
|
72920
|
73693
|
73694
|
73695
|
73696
|
73697
|
73766
|
73767
|
73768
|
73769
|
73770
|
73771
|
73851
|
73852
|
73853
|
73854
|
73855
|
73856
| 73857 |
74023
|
74055