[Koha-devel] CVS: koha opac-search.pl,1.1.1.1,1.2
Chris Cornack
rangi at users.sourceforge.net
Tue Mar 6 22:13:02 CET 2001
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv4735
Modified Files:
opac-search.pl
Log Message:
Fixing a bug in the opac search that meant that titles that contained " were
caused the detail page to error
Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac-search.pl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** opac-search.pl 2000/12/19 23:45:52 1.1.1.1
--- opac-search.pl 2001/03/06 21:13:00 1.2
***************
*** 60,64 ****
my $title2=$stuff[1];
$title2=~ s/ /%20/g;
!
$stuff[1]=mklink("/cgi-bin/koha/detail.pl?bib=$stuff[2]&title=$title2&type=opac",$stuff[1]);
my $word=$stuff[0];
--- 60,64 ----
my $title2=$stuff[1];
$title2=~ s/ /%20/g;
! $title2=~ s/\W//g;
$stuff[1]=mklink("/cgi-bin/koha/detail.pl?bib=$stuff[2]&title=$title2&type=opac",$stuff[1]);
my $word=$stuff[0];
More information about the Koha-devel
mailing list