koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] CVS: koha opac-search.pl,1.1.1.1,1.2


From: Chris Cornack
Subject: [Koha-devel] CVS: koha opac-search.pl,1.1.1.1,1.2
Date: Tue, 06 Mar 2001 13:13:02 -0800

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];




reply via email to

[Prev in Thread] Current Thread [Next in Thread]