[Koha-bugs] [Bug 24562] addbiblio.pl overloading CPU
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jul 4 23:13:50 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24562
--- Comment #21 from Jawad Makki <jawad_makki at hotmail.com> ---
Hello Jonathan,
the suggested modification (to add $result->{title} =~ s /\'//g;) in
C4/Search.pm has solved the problem.
the sub FindDuplicate is not overloading the CPU anymore when it is called from
addbiblio.pl
sub FindDuplicate {
$result->{title} =~ s /\\//g;
$result->{title} =~ s /\"//g;
+ $result->{title} =~ s /\'//g;
$result->{title} =~ s /\(//g;
$result->{title} =~ s /\)//g;
I have applied it also for the author as well
$result->{author} =~ s /\\//g;
$result->{author} =~ s /\"//g;
+ $result->{author} =~ s /\'//g;
$result->{author} =~ s /\(//g;
$result->{author} =~ s /\)//g;
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list