[Koha-cvs] CVS: koha/opac opac-search.pl,1.21.2.3,1.21.2.4
Paul POULAIN
tipaul at users.sourceforge.net
Thu Sep 15 10:34:00 CEST 2005
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32047/opac
Modified Files:
Tag: rel_2_2
opac-search.pl
Log Message:
re-introducing exact search in OPAC
Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.21.2.3
retrieving revision 1.21.2.4
diff -C2 -r1.21.2.3 -r1.21.2.4
*** opac-search.pl 14 Sep 2005 14:30:50 -0000 1.21.2.3
--- opac-search.pl 15 Sep 2005 08:33:58 -0000 1.21.2.4
***************
*** 50,55 ****
--- 50,63 ----
$resultsperpage= $query->param('resultsperpage');
$resultsperpage = 19 if(!defined $resultsperpage);
+
my $orderby = $query->param('orderby');
my $desc_or_asc = $query->param('desc_or_asc');
+ my $exactsearch = $query->param('exact');
+ if ($exactsearch) {
+ warn "EXACT";
+ foreach (@operator) {
+ $_='=';
+ }
+ }
# builds tag and subfield arrays
my @tags;
More information about the Koha-cvs
mailing list