Bugzilla – Attachment 49910 Details for
Bug 15030
Certain values in serials' items are lost on next edit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15030 - continue. The enumchron value was overwritten by 'header' even when value supplied
Bug-15030---continue-The-enumchron-value-was-overw.patch (text/plain), 1.53 KB, created by
Nick Clemens
on 2016-04-05 12:45:08 UTC
(
hide
)
Description:
Bug 15030 - continue. The enumchron value was overwritten by 'header' even when value supplied
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-04-05 12:45:08 UTC
Size:
1.53 KB
patch
obsolete
>From ffbff3e2e10661290633915ba45778abcd647ce9 Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >Date: Thu, 22 Oct 2015 16:49:10 -0400 >Subject: [PATCH] Bug 15030 - continue. The enumchron value was overwritten by > 'header' even when value supplied > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >index 2121547..e26e2b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >@@ -27,9 +27,10 @@ function unHideItems(index,labelindex, serialId) { > item_div = $("fieldset#" + index + " div.cataloguing_additem_itemlist div.items"); > // Getting subfield with enumcron mapping > subfield_div = $(item_div).find("input[name='kohafield'][value='items.enumchron']").parent(); >- // Setting text field >- $(subfield_div).children("input[type='text'][name='field_value']").val($("#serialseq" + serialId).val()); >- >+ // Setting text field if no saved default value >+ if(! $(subfield_div).children("input[type='text'][name='field_value']").val() ){ >+ $(subfield_div).children("input[type='text'][name='field_value']").val($("#serialseq" + serialId).val()); >+ } > } > function HideItems(index,labelindex) { > subfield = document.getElementById(index); >-- >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 15030
:
43601
|
43701
|
43785
|
44798
|
45297
|
45753
|
49908
|
49909
|
49910
|
49911
|
53449
|
53450
|
53456
|
53457
|
53458
|
53459
|
59671
|
59672
|
59673
|
59674
|
59723
|
59724
|
59725
|
59726
|
59792
|
59793
|
59794
|
59795