[Koha-cvs] koha/reports catalogue_stats.pl
Bruno Toumi
btoumi at ouestprovence.fr
Wed May 24 15:14:04 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch:
Changes by: Bruno Toumi <btoumi at savannah.gnu.org> 06/05/24 13:14:04
Modified files:
reports : catalogue_stats.pl
Log message:
bug fixing : modify variable name and delete condition useless now
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/reports/catalogue_stats.pl.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
Patches:
Index: koha/reports/catalogue_stats.pl
diff -u koha/reports/catalogue_stats.pl:1.15 koha/reports/catalogue_stats.pl:1.16
--- koha/reports/catalogue_stats.pl:1.15 Wed Oct 26 09:13:37 2005
+++ koha/reports/catalogue_stats.pl Wed May 24 13:14:04 2006
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Id: catalogue_stats.pl,v 1.15 2005/10/26 09:13:37 tipaul Exp $
+# $Id: catalogue_stats.pl,v 1.16 2006/05/24 13:14:04 btoumi Exp $
# Copyright 2000-2002 Katipo Communications
#
@@ -267,7 +267,7 @@
# CGIToPublicationYear => $CGIpublicationyear,
# CGIPublisher => $CGIpublisher,
CGIBranch => $CGIbranch,
- CGILocation => $CGIholdingbranch,
+ CGILocation => $CGIlocation,
CGIextChoice => $CGIextChoice,
CGIsepChoice => $CGIsepChoice
);
@@ -506,11 +506,7 @@
}
if (@$filters[11]){
@$filters[11]=~ s/\*/%/g;
- if ($cond){
- $strcalc .= " AND items.holdingbranch like '" . @$filters[11] ."'" if ( @$filters[11] );
- } else {
- $strcalc .= " WHERE items.holdingbranch like '" . @$filters[11] ."'" if ( @$filters[11] );
- }
+ $strcalc .= " AND items.holdingbranch like '" . @$filters[11] ."'" if ( @$filters[11] );
}
$strcalc .= " group by $linefield, $colfield order by $linefield,$colfield";
More information about the Koha-cvs
mailing list