From d0f2120649cdd5a50d7cbc45b61bf9628101718a Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 6 Feb 2014 14:44:56 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 7683: Fix a shift in date filter indexes Date filter indexes are 13, 14, 15, 16, not 14, 15, 16, 17 Signed-off-by: Bernardo Gonzalez Kriegel Works, no koha-qa errors (some message for the deleted file) --- reports/catalogue_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 686a9f1..9858967 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -233,10 +233,10 @@ sub calculate { } } + @$filters[13] = C4::Dates->new(@$filters[13])->output('iso') if @$filters[13]; @$filters[14] = C4::Dates->new(@$filters[14])->output('iso') if @$filters[14]; @$filters[15] = C4::Dates->new(@$filters[15])->output('iso') if @$filters[15]; @$filters[16] = C4::Dates->new(@$filters[16])->output('iso') if @$filters[16]; - @$filters[17] = C4::Dates->new(@$filters[17])->output('iso') if @$filters[17]; my @linefilter; $linefilter[0] = @$filters[0] if ( $line =~ /items\.itemcallnumber/ ); -- 1.7.9.5