From 45e3b57fcd6ece7786b7383d8637c149ffd1e39b 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 Signed-off-by: Bernardo Gonzalez Kriegel Works, no koha-qa errors (some message for the deleted file) Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher --- 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 551c10ab14..aa2df2e5f9 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -231,10 +231,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/ ); -- 2.39.5