projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2122d76
)
Fixing a bug in the opac search that meant that titles that contained " were
author
rangi
<rangi>
Tue, 6 Mar 2001 21:13:00 +0000
(21:13 +0000)
committer
rangi
<rangi>
Tue, 6 Mar 2001 21:13:00 +0000
(21:13 +0000)
caused the detail page to error
opac-search.pl
patch
|
blob
|
history
diff --git
a/opac-search.pl
b/opac-search.pl
index
1008479
..
73211f6
100755
(executable)
--- a/
opac-search.pl
+++ b/
opac-search.pl
@@
-59,7
+59,7
@@
while ($i < $count2){
$stuff[1]=~ s/\`/\'/g;
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];
$word=~ s/ //g;