Bugzilla – Attachment 43684 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.16 KB, created by
Magnus Enger
on 2015-10-21 11:17:21 UTC
(
hide
)
Description:
Bug 15042 - Barcode hbyymmincr does not work when receiving serials
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2015-10-21 11:17:21 UTC
Size:
1.16 KB
patch
obsolete
>From 10c7e2b2c95ee521de1793ba2db539b7b82ea7fd 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 > >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 >--- > 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++) { >-- >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 15042
:
43680
|
43681
|
43684
|
43741
|
43743