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.85.2.7,1.85.2.8


From: Joshua Ferraro
Subject: [Koha-cvs] CVS: koha/C4 Search.pm,1.85.2.7,1.85.2.8
Date: Sun, 28 Mar 2004 08:18:12 -0800

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

Modified Files:
      Tag: rel_2_0
        Search.pm 
Log Message:
Make isbn search on existing records looser (to allow for MARC isbn data).


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.85.2.7
retrieving revision 1.85.2.8
diff -C2 -r1.85.2.7 -r1.85.2.8
*** Search.pm   15 Mar 2004 17:05:35 -0000      1.85.2.7
--- Search.pm   28 Mar 2004 16:18:10 -0000      1.85.2.8
***************
*** 2707,2713 ****
        @bind=();
        if ($isbn) {
!               $query .= " and isbn=?";
!               @bind=($isbn);
!       }
        if ($title) {
                $query .= " and title like ?";
--- 2707,2713 ----
        @bind=();
        if ($isbn) {
!               $query .= " and isbn like ?";
!               @bind=(uc($isbn)."%");
!         }
        if ($title) {
                $query .= " and title like ?";




reply via email to

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