Bugzilla – Attachment 124232 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.55 KB, created by
Katrin Fischer
on 2021-08-29 13:07:58 UTC
(
hide
)
Description:
Bug 28812: (bug 7882 follow up) Copy all subfields in plugin editor
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-08-29 13:07:58 UTC
Size:
1.55 KB
patch
obsolete
>From 56818095c188d49c3e111bffe02d0bfddd8c4040 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' > >Signed-off-by: George Veranis <gveranis@dataly.gr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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.11.0
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