Bugzilla – Attachment 43743 Details for
Bug 15042
Barcode <branchcode>yymm0001 does not work when receiving serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15042 - Barcode hbyymmincr does not work when receiving serials
Bug-15042---Barcode-hbyymmincr-does-not-work-when-.patch (text/plain), 1.39 KB, created by
Jonathan Druart
on 2015-10-22 08:36:38 UTC
(
hide
)
Description:
Bug 15042 - Barcode hbyymmincr does not work when receiving serials
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-22 08:36:38 UTC
Size:
1.39 KB
patch
obsolete
>From c74882ce55b2d721f211779075da1ca7e313c088 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Wed, 21 Oct 2015 13:11:28 +0200 >Subject: [PATCH] Bug 15042 - Barcode hbyymmincr does not work when receiving > serials >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >- Set autoBarcode = <branchcode>yymm0001 >- Make sure you have a serial that is set to "create an item record > when receiving this serial" >- Receive an issue >- Click in the barcode field - nothing happens >- Apply patch and reload page >- Receive an issue >- Click in the barcode field - a barcode conforming to the > hbyymmincr setting appears > >Patch works as advertised. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Barcodes/ValueBuilder.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/Barcodes/ValueBuilder.pm b/C4/Barcodes/ValueBuilder.pm >index c8cfe59..81747de 100644 >--- a/C4/Barcodes/ValueBuilder.pm >+++ b/C4/Barcodes/ValueBuilder.pm >@@ -62,6 +62,9 @@ sub get_barcode { > my $scr = " > var form = document.getElementById('f'); > if ( !form ) { >+ form = document.getElementById('serials_edit'); >+ } >+ if ( !form ) { > form = document.getElementById('Aform'); > } > for (i=0 ; i<form.field_value.length ; i++) { >-- >2.1.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 15042
:
43680
|
43681
|
43684
|
43741
| 43743