Bugzilla – Attachment 5585 Details for
Bug 6917
Acquisitions reports: Dates filters doesn't work when they are not selected on row or column
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-bug-6917-Dates-filters-doesn-t-work-when-they-are-no.patch (text/plain), 1.53 KB, created by
Alex Arnaud
on 2011-09-26 10:23:37 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2011-09-26 10:23:37 UTC
Size:
1.53 KB
patch
obsolete
>From d8d67c21e8ad1a973aad89e47eab96b24c1e1bc4 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Mon, 26 Sep 2011 12:21:58 +0200 >Subject: [PATCH] bug 6917 Dates filters doesn't work when they are not selected on row or column > >--- > reports/acquisitions_stats.pl | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl >index 8220148..4d041d0 100755 >--- a/reports/acquisitions_stats.pl >+++ b/reports/acquisitions_stats.pl >@@ -47,10 +47,10 @@ my $fullreportname = "reports/acquisitions_stats.tmpl"; > my $line = $input->param("Line"); > my $column = $input->param("Column"); > my @filters = $input->param("Filter"); >-$filters[0]= (($line =~ /closedate/ || $column =~ /closedate/) ? format_date_in_iso($filters[0]) : undef); >-$filters[1]= (($line =~ /closedate/ || $column =~ /closedate/) ? format_date_in_iso($filters[1]) : undef); >-$filters[2]= (($line =~ /delivery/ || $column =~ /delivery/) ? format_date_in_iso($filters[2]) : undef); >-$filters[3]= (($line =~ /delivery/ || $column =~ /delivery/) ? format_date_in_iso($filters[3]) : undef); >+$filters[0]= format_date_in_iso($filters[0]); >+$filters[1]= format_date_in_iso($filters[1]); >+$filters[2]= format_date_in_iso($filters[2]); >+$filters[3]= format_date_in_iso($filters[3]); > my $podsp = $input->param("PlacedOnDisplay"); > my $rodsp = $input->param("ReceivedOnDisplay"); > my $aodsp = $input->param("AcquiredOnDisplay"); ##added by mason. >-- >1.7.0.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 6917
:
5585
|
6742