Bugzilla – Attachment 9774 Details for
Bug 8154
The export today's checked in barcodes generated file is always empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8154 - The export today's checked in barcodes generated file is always empty
0001-Bug-8154-The-export-today-s-checked-in-barcodes-gene.patch (text/plain), 1.02 KB, created by
Jonathan Druart
on 2012-05-25 10:40:37 UTC
(
hide
)
Description:
Bug 8154 - The export today's checked in barcodes generated file is always empty
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-25 10:40:37 UTC
Size:
1.02 KB
patch
obsolete
>From f2621417c11dbb08813dbd71a539e97830c2f87c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 25 May 2012 12:39:56 +0200 >Subject: [PATCH 1/1] Bug 8154 - The export today's checked in barcodes > generated file is always empty > >Comparation of date and datetime is always false >--- > members/readingrec.pl | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/members/readingrec.pl b/members/readingrec.pl >index 2645eda..8397822 100755 >--- a/members/readingrec.pl >+++ b/members/readingrec.pl >@@ -84,7 +84,8 @@ foreach my $issue (@{$issues}){ > $line{barcode} = $issue->{'barcode'}; > $line{volumeddesc} = $issue->{'volumeddesc'}; > push(@loop_reading,\%line); >- if (($input->param('op') eq 'export_barcodes') and ($today eq $issue->{'returndate'})) { >+ if ( ($input->param('op') eq 'export_barcodes') >+ and ($today eq C4::Dates->new( $issue->{'returndate'}, 'iso' )->output("iso")) ) { > push( @barcodes, $issue->{'barcode'} ); > } > } >-- >1.7.7.3 >
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 8154
:
9774
|
10000
|
10344
|
10364