[Koha-cvs] CVS: koha/C4 Search.pm,1.77,1.78

Chris Cormack rangi at users.sourceforge.net
Fri Sep 12 02:46:24 CEST 2003


Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv14688/C4

Modified Files:
	Search.pm 
Log Message:
Fix for bug 603



Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -r1.77 -r1.78
*** Search.pm	11 Sep 2003 22:03:43 -0000	1.77
--- Search.pm	12 Sep 2003 00:46:21 -0000	1.78
***************
*** 1761,1766 ****
  		";
  		for (my $i=1;$i<$count;$i++){
! 		$query=$query." and (surname like \"$data[$i]%\" or surname like \"% $data[$i]%\"
! 		or firstname  like \"$data[$i]%\" or firstname like \"% $data[$i]%\"
  		or othernames like \"$data[$i]%\" or othernames like \"% $data[$i]%\")";
  					# FIXME - .= <<EOT;
--- 1761,1766 ----
  		";
  		for (my $i=1;$i<$count;$i++){
! 		$query=$query." and (".
! 		" firstname  like \"$data[$i]%\" or firstname like \"% $data[$i]%\"
  		or othernames like \"$data[$i]%\" or othernames like \"% $data[$i]%\")";
  					# FIXME - .= <<EOT;





More information about the Koha-cvs mailing list