From cbe2966cbd0beb744be384381c2d1248867c5a0c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Sep 2013 10:43:09 +0200 Subject: [PATCH] [PASSED QA] Bug 10500: Followup for UNIMARC In UNIMARC, the isbn index is ISBN. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- C4/Matcher.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 5c27fa3..25536c8 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