koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4 Search.pm,1.94,1.95


From: skemotah
Subject: [Koha-cvs] CVS: koha/C4 Search.pm,1.94,1.95
Date: Sun, 05 Sep 2004 15:33:14 -0700

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

Modified Files:
        Search.pm 
Log Message:
Fix bug 789 (in HEAD)

Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -r1.94 -r1.95
*** Search.pm   4 Sep 2004 13:48:27 -0000       1.94
--- Search.pm   5 Sep 2004 22:33:12 -0000       1.95
***************
*** 1888,1895 ****
                @bind=("$data[0]%","% $data[0]%","$data[0]%","% 
$data[0]%","$data[0]%","% $data[0]%");
                for (my $i=1;$i<$count;$i++){
!               $query=$query." and (".
!               " firstname  like ? or firstname like ?
!               or othernames like ? or othernames like ?)";
!               push(@bind,"$data[$i]%","% $data[$i]%","$data[$i]%","% 
$data[$i]%");
                                        # FIXME - .= <<EOT;
                }
--- 1888,1896 ----
                @bind=("$data[0]%","% $data[0]%","$data[0]%","% 
$data[0]%","$data[0]%","% $data[0]%");
                for (my $i=1;$i<$count;$i++){
!                       $query=$query." and (".
!                       " surname like ? or surname like ?
!                         or firstname  like ? or firstname like ?
!                       or othernames like ? or othernames like ?)";
!                       push(@bind,"$data[$i]%","% $data[$i]%","$data[$i]%","% 
$data[$i]%","$data[$i]%","% $data[$i]%");
                                        # FIXME - .= <<EOT;
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]