koha-devel
[Top][All Lists]
Advanced

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

[Koha-devel] CVS: koha/C4 Search.pm,1.6,1.7


From: Chris Cormack
Subject: [Koha-devel] CVS: koha/C4 Search.pm,1.6,1.7
Date: Sun Nov 25 14:26:02 2001

Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv19174/C4

Modified Files:
        Search.pm 
Log Message:
Author combined with Title search was not searching the series title field
Fixed now


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Search.pm   2001/11/23 02:12:48     1.6
--- Search.pm   2001/11/25 22:25:55     1.7
***************
*** 399,403 ****
         $query=$query.")";
           if ($search->{'title'} ne ''){ 
!          $query=$query. " and title like '%$search->{'title'}%'";
         }
         if ($search->{'class'} ne ''){
--- 399,404 ----
         $query=$query.")";
           if ($search->{'title'} ne ''){ 
!          $query=$query. " and (title like '%$search->{'title'}%' 
!          or seriestitle like '%$search->{'title'}%')";
         }
         if ($search->{'class'} ne ''){




reply via email to

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