Bugzilla – Attachment 124116 Details for
Bug 28812
Authority tag editor only copies $a from record to search form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28812: (bug 7882 follow up) Copy all subfields in plugin editor
Bug-28812-bug-7882-follow-up-Copy-all-subfields-in.patch (text/plain), 1.45 KB, created by
Didier Gautheron
on 2021-08-26 13:58:55 UTC
(
hide
)
Description:
Bug 28812: (bug 7882 follow up) Copy all subfields in plugin editor
Filename:
MIME Type:
Creator:
Didier Gautheron
Created:
2021-08-26 13:58:55 UTC
Size:
1.45 KB
patch
obsolete
>From 92f29e2fb56de787e9918e114b4a7769b644c126 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Thu, 26 Aug 2021 15:27:45 +0200 >Subject: [PATCH] Bug 28812: (bug 7882 follow up) Copy all subfields in plugin > editor > >To test: >1- Create a notice with a 700$a and 700$d >2- Click on 700 $a field Tag Editor >3- Only 700$a is copied in search windows eg /authorities/auth_finder.pl pop up >4- Apply patch >5- Redo 2 >6- 700$a is copied in 'Search main heading ($a only)' and $d is copied in 'Search main heading' >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index 2dc65396ad..926d2a7c75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -43,8 +43,8 @@ function openAuth(tagsubfieldid,authtype,source) { > var elementsubfcode=getSubfieldCode(element.name); > var mainmainstring=element.value; > var mainstring = new Array(); >- var inputs = element.parentNode.parentNode.getElementsByTagName("input"); > >+ var inputs = element.parentNode.parentNode.parentNode.getElementsByTagName("input"); > for (var myindex =0; myindex<inputs.length;myindex++){ > if (inputs[myindex].name && inputs[myindex].name.match(tagsubfield)){ > var subfieldcode=getSubfieldCode(inputs[myindex].name); >-- >2.20.1
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 28812
:
124116
|
124175
|
124232
|
124241