From fa0e3a5ef0fbe8d849a622e03f5e8e050d412de5 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 6 Feb 2014 14:44:56 +0100 Subject: [PATCH] Bug 7683: Fix a shift in date filter indexes Date filter indexes are 13, 14, 15, 16, not 14, 15, 16, 17 --- 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 f190bba..604c302 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.9.1