projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8864471
)
Bug #2794: Browse Shelf doesn't work with ISBN containing '-'
author
Frederic Demians
<f.demians@tamil.fr>
Mon, 17 Nov 2008 08:34:50 +0000
(09:34 +0100)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Mon, 17 Nov 2008 17:00:44 +0000
(18:00 +0100)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
opac/opac-detail.pl
patch
|
blob
|
history
diff --git
a/opac/opac-detail.pl
b/opac/opac-detail.pl
index
e08a0f5
..
7e72521
100755
(executable)
--- a/
opac/opac-detail.pl
+++ b/
opac/opac-detail.pl
@@
-238,6
+238,8
@@
$template->param(
sub isbn_cleanup ($) {
my $isbn=shift;
+ ($isbn) = $isbn =~ /([\d-]*[X]*)/;
+ $isbn =~ s/-//g;
if (
$isbn =~ /\b(\d{13})\b/ or
$isbn =~ /\b(\d{10})\b/ or