Bugzilla – Attachment 58471 Details for
Bug 17818
Duplicating a subfield yields an empty subfield tag [follow-up]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17818 - Duplicating a subfield yields an empty subfield tag [follow-up]
Bug-17818---Duplicating-a-subfield-yields-an-empty.patch (text/plain), 1.58 KB, created by
Sophie MEYNIEUX
on 2016-12-28 14:18:12 UTC
(
hide
)
Description:
Bug 17818 - Duplicating a subfield yields an empty subfield tag [follow-up]
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2016-12-28 14:18:12 UTC
Size:
1.58 KB
patch
obsolete
>From c518f93f354674af51352b0b609e76c2f45ec134 Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Wed, 28 Dec 2016 15:04:51 +0100 >Subject: [PATCH] Bug 17818 - Duplicating a subfield yields an empty subfield > tag [follow-up] > >The problem is the same as Bug 17477 but also for dropdown selection list > >Steps to reproduce error: >- On the cataloging screen (basic screen), create a new record >- Go to a field with repetable subfields and associated with authorised values >- Select a value for the subfield > 583$x) > - Clone the subfield > - select another value for the new subfield > - Save the record > - Edit the record to modify => the clone subfield has desappeared. >If you look in DB in marcxml, the subfield is present but without code > > - Apply patch > - Clean cache browser and reload page > - Repeat steps above > - Verify that works as expected > >https://bugs.koha-community.org/show_bug.cgi?id=17818 >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index ee03961..39f3128 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -281,6 +281,7 @@ function CloneSubfield(index, advancedMARCEditor){ > id_input = selects[i].getAttribute('id')+new_key; > selects[i].setAttribute('id',selects[i].getAttribute('id')+new_key); > selects[i].setAttribute('name',selects[i].getAttribute('name')+new_key); >+ linkid = id_input; > } > > // textarea >-- >1.9.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 17818
:
58470
| 58471