From 6ba7cc9e48110d1bf7b94d89b4ec2ce68b4aa348 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. Signed-off-by: Jonathan Druart --- C4/Matcher.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.10.4