[Koha-cvs] CVS: koha/C4 Search.pm,1.85.2.7,1.85.2.8
Joshua Ferraro
joshferraro at users.sourceforge.net
Sun Mar 28 18:18:12 CEST 2004
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 ?";
More information about the Koha-cvs
mailing list