[Koha-cvs] koha/C4 Search.pm

Antoine Farnault antoine at koha-fr.org
Fri Jun 15 18:32:44 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Antoine Farnault <toins>	07/06/15 16:32:44

Modified files:
	C4             : Search.pm 

Log message:
	enable to search on subject with nozebra

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Search.pm?cvsroot=koha&r1=1.146&r2=1.147

Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -b -r1.146 -r1.147
--- Search.pm	15 Jun 2007 13:44:45 -0000	1.146
+++ Search.pm	15 Jun 2007 16:32:44 -0000	1.147
@@ -25,7 +25,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.146 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.147 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -1219,6 +1219,7 @@
         $left='title' if $left eq 'ti';
         $left='author' if $left eq 'au';
         $left='publisher' if $left eq 'pb';
+        $left='subject' if $left eq 'su';
         $left='koha-Auth-Number' if $left eq 'an';
         if ($operator) {
             #do a specific search





More information about the Koha-cvs mailing list