From 8dd087bfc7c8947308b170c666682f6dec1ea30d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 14 Nov 2012 16:56:03 +0100 Subject: [PATCH] =?utf8?q?Index/Z=C3=A4hler=20f=C3=BCr=20multiple=20Auftr?= =?utf8?q?=C3=A4ge=20bei=201=20beginnen=20lassen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit behebt #2054 --- bin/mozilla/oe.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 5df518fc7..391ec1a00 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -922,7 +922,7 @@ sub orders { my %totals = map { $_ => 0 } @subtotal_columns; my %subtotals = map { $_ => 0 } @subtotal_columns; - my $idx = 0; + my $idx = 1; my $edit_url = build_std_url('action=edit', 'type', 'vc'); @@ -964,8 +964,8 @@ sub orders { my $row_set = [ $row ]; if (($form->{l_subtotal} eq 'Y') - && (($idx == (scalar @{ $form->{OE} } - 1)) - || ($oe->{ $form->{sort} } ne $form->{OE}->[$idx + 1]->{ $form->{sort} }))) { + && (($idx == (scalar @{ $form->{OE} })) + || ($oe->{ $form->{sort} } ne $form->{OE}->[$idx]->{ $form->{sort} }))) { push @{ $row_set }, create_subtotal_row(\%subtotals, \@columns, \%column_alignment, \@subtotal_columns, 'listsubtotal'); } -- 2.20.1