From c1b782b6346b2324d3ef39e602bc9b53c876ce13 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Sep 2013 10:43:09 +0200 Subject: [PATCH] Bug 10500: (follow-up) adjust for name of UNIMARC ISBN indexes In UNIMARC, the isbn index is ISBN. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Galen Charlton --- C4/Matcher.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 5c27fa3615..25536c8ce9 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 -- 2.39.2