From e227cbb14bb74384603880a6f64abc930ecca8b3 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 32dc491..ce985ec 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -227,10 +227,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.10.4