From 09db0765212c38fbf43ddcaa61a70fd1620565bc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Sep 2013 10:43:09 +0200 Subject: [PATCH] Bug 10500: Followup for UNIMARC In UNIMARC, the isbn index is ISBN. --- C4/Matcher.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Matcher.pm b/C4/Matcher.pm index e6deb4c..d941bdd 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -634,7 +634,7 @@ sub get_matches { next if scalar(@source_keys) == 0; @source_keys = C4::Koha::GetVariationsOfISBNs(@source_keys) - if ( $matchpoint->{index} eq 'isbn' + if ( $matchpoint->{index} =~ /^isbn$/i && C4::Context->preference('AggressiveMatchOnISBN') ); # build query -- 1.7.2.5