From 4110248b734d073f304273fd80c2e8d4979004ae Mon Sep 17 00:00:00 2001 From: wolfpac444 Date: Thu, 7 Aug 2003 12:37:21 +0000 Subject: [PATCH] Fixed Bug #558. --- koha-tmpl/intranet-tmpl/default/en/members/member.tmpl | 2 +- member.pl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl b/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl index 738b334202..a8287c95b0 100644 --- a/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl @@ -23,7 +23,7 @@ You Searched for

- + diff --git a/member.pl b/member.pl index 9f2ff6a97d..409fe66adb 100755 --- a/member.pl +++ b/member.pl @@ -66,11 +66,13 @@ else my @resultsdata; +my $background = 0; for (my $i=0; $i < $count; $i++){ #find out stats my ($od,$issue,$fines)=borrdata2($env,$results->[$i]{'borrowernumber'}); my %row = ( + background => $background, borrowernumber => $results->[$i]{'borrowernumber'}, cardnumber => $results->[$i]{'cardnumber'}, surname => $results->[$i]{'surname'}, @@ -81,6 +83,7 @@ for (my $i=0; $i < $count; $i++){ odissue => "$od/$issue", fines => $fines, borrowernotes => $results->[$i]{'borrowernotes'}); + if ( $background ) { $background = 0; } else {$background = 1; } push(@resultsdata, \%row); } -- 2.39.5