https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24562

--- Comment #21 from Jawad Makki <jawad_ma...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to