From e2a762ee048bae4d60f53d7423e19f1c01b75bb0 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 files changed, 1 insertions(+), 1 deletions(-) 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.2.5