[Koha-cvs] CVS: koha/reports borrowers_stats.pl,1.2,1.3

Paul POULAIN tipaul at users.sourceforge.net
Wed Feb 23 15:11:24 CET 2005


Update of /cvsroot/koha/koha/reports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2899/reports

Modified Files:
	borrowers_stats.pl 
Log Message:
patch to hide empty fields

Index: borrowers_stats.pl
===================================================================
RCS file: /cvsroot/koha/koha/reports/borrowers_stats.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** borrowers_stats.pl	21 Feb 2005 19:21:21 -0000	1.2
--- borrowers_stats.pl	23 Feb 2005 14:11:21 -0000	1.3
***************
*** 124,129 ****
  	my @select_sort1;
  	push @select_sort1,"";
  	while (my ($value) =$req->fetchrow) {
! 		push @select_sort1, $value;
  	}
  	my $CGIsort1=CGI::scrolling_list( -name     => 'Filter',
--- 124,133 ----
  	my @select_sort1;
  	push @select_sort1,"";
+ 	my $hassort1;
  	while (my ($value) =$req->fetchrow) {
! 		if ($value) {
! 			$hassort1=1;
! 			push @select_sort1, $value;
! 		}
  	}
  	my $CGIsort1=CGI::scrolling_list( -name     => 'Filter',
***************
*** 165,171 ****
  				-size     => 1,
  				-multiple => 0 );
- 	
  	$template->param(CGICatcode => $CGICatCode,
  					CGISort1 => $CGIsort1,
  					CGISort2 => $CGIsort2,
  					CGIextChoice => $CGIextChoice,
--- 169,175 ----
  				-size     => 1,
  				-multiple => 0 );
  	$template->param(CGICatcode => $CGICatCode,
  					CGISort1 => $CGIsort1,
+ 					hassort1 => $hassort1,
  					CGISort2 => $CGIsort2,
  					CGIextChoice => $CGIextChoice,





More information about the Koha-cvs mailing list