@@ -, +, @@ - Set SearchEngine to ElasticSearch (and make sure you have the data indexed etc) - Find an existing book, note the title (245a) and the author (100a) - Create a new book (Cataloging -> New Record) - Fill in the same title and author using the same data as in an existing book (and any other fields that might be required) - Click "save" - Create a new book (Cataloging -> New Record) - Fill in the same title and author using the same data as in an existing book (and any other fields that might be required) - Click "save" - The DuplicateFinder should now report the already exising book --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -99,7 +99,7 @@ sub FindDuplicate { my $titleindex = 'ti,ext'; my $authorindex = 'au,ext'; - my $op = 'and'; + my $op = 'AND'; $result->{title} =~ s /\\//g; $result->{title} =~ s /\"//g; --