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

Chris Cormack rangi at users.sourceforge.net
Thu Nov 22 18:13:03 CET 2001


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

Modified Files:
	Search.pm 
Log Message:
Adding the facility to search on just dewey and class



Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Search.pm	2001/10/05 20:13:20	1.5
--- Search.pm	2001/11/23 02:12:48	1.6
***************
*** 486,489 ****
--- 486,492 ----
  	        $query.=" and illus like '%".$search->{'illustrator'}."%' ";
  	      }
+ 	      if ($search->{'dewey'} ne ''){
+ 	        $query.=" and biblioitems.dewey like '$search->{'dewey'}%'";
+ 	      }
  	  } elsif ($search->{'dewey'} ne ''){
  	     $query="select * from biblioitems,biblio 





More information about the Koha-devel mailing list