[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] Changes to koha/C4/Bull.pm [rel_2_2]
From: |
paul poulain |
Subject: |
[Koha-cvs] Changes to koha/C4/Bull.pm [rel_2_2] |
Date: |
Thu, 01 Dec 2005 10:05:59 -0500 |
Index: koha/C4/Bull.pm
diff -u koha/C4/Bull.pm:1.6.2.18 koha/C4/Bull.pm:1.6.2.19
--- koha/C4/Bull.pm:1.6.2.18 Fri Nov 25 17:09:03 2005
+++ koha/C4/Bull.pm Thu Dec 1 15:05:59 2005
@@ -324,12 +324,16 @@
}
my @results;
my $previoustitle="";
+ my $odd=1;
while (my $line = $sth->fetchrow_hashref) {
if ($previoustitle eq $line->{title}) {
$line->{title}="";
$line->{issn}="";
+ $line->{toggle} = 1 if $odd==1;
} else {
$previoustitle=$line->{title};
+ $odd=-$odd;
+ $line->{toggle} = 1 if $odd==1;
}
push @results, $line;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] Changes to koha/C4/Bull.pm [rel_2_2],
paul poulain <=