[Koha-cvs] CVS: koha/C4 Search.pm,1.87,1.88

Joshua Ferraro joshferraro at users.sourceforge.net
Sun Mar 28 18:04:49 CEST 2004


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

Modified Files:
	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.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** Search.pm	24 Mar 2004 10:44:48 -0000	1.87
--- Search.pm	28 Mar 2004 16:04:47 -0000	1.88
***************
*** 2707,2712 ****
  	@bind=();
  	if ($isbn) {
! 		$query .= " and isbn=?";
! 		@bind=($isbn);
  	}
  	if ($title) {
--- 2707,2712 ----
  	@bind=();
  	if ($isbn) {
! 		$query .= " and isbn like ?";
! 		@bind=(uc($isbn)."%");
  	}
  	if ($title) {





More information about the Koha-cvs mailing list