Bugzilla – Attachment 10364 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
Bug-8154-The-export-todays-checked-in-barcodes-gen.patch (text/plain), 1.19 KB, created by
Tomás Cohen Arazi (tcohen)
on 2012-06-19 15:17:32 UTC
(
hide
)
Description:
Bug 8154: The export today's checked in barcodes generated file is always empty
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2012-06-19 15:17:32 UTC
Size:
1.19 KB
patch
obsolete
>From 3f1cf07766127930a0b4e775c8a6833aedd19905 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 18 Jun 2012 10:19:12 +0200 >Subject: [PATCH] Bug 8154: The export today's checked in barcodes generated > file is always empty >Content-Type: text/plain; charset="utf-8" > >Comparation of date and datetime is always false > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> > >Exported file contains the list of checked in items. >--- > members/readingrec.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/members/readingrec.pl b/members/readingrec.pl >index 2645eda..d95cc8f 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'})) { >+ my $return_dt = Koha::DateUtils::dt_from_string($issue->{'returndate'}, 'iso'); >+ if ( ( $input->param('op') eq 'export_barcodes' ) and ( $today eq $return_dt->ymd() ) ) { > push( @barcodes, $issue->{'barcode'} ); > } > } >-- >1.7.9.5
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