projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1d024
)
don't include the item itself as an edition
author
Joshua Ferraro
<jmf@liblime.com>
Tue, 18 Mar 2008 15:38:30 +0000
(11:38 -0400)
committer
Joshua Ferraro
<jmf@liblime.com>
Tue, 18 Mar 2008 15:40:30 +0000
(10:40 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/XISBN.pm
patch
|
blob
|
history
diff --git
a/C4/XISBN.pm
b/C4/XISBN.pm
index
dd2bd5d
..
4ab6bcc
100644
(file)
--- a/
C4/XISBN.pm
+++ b/
C4/XISBN.pm
@@
-115,6
+115,8
@@
sub get_xisbns {
# loop through each ISBN and scope to the local collection
for my $response_data( @{ $response->{ isbn } } ) {
+ next if $response_data->{'content'} eq $isbn;
+ next if $isbn eq $response_data;
next if $unique_xisbns->{ $response_data->{content} };
$unique_xisbns->{ $response_data->{content} }++;
my $xbiblio= get_biblio_from_xisbn($response_data->{content});