[Koha-bugs] [Bug 17979] Fatal error when searching from addbooks.pl due to ISBN flaw

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 22 15:47:59 CET 2021


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

--- Comment #19 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #18)
> (In reply to Nick Clemens from comment #17)
> > I believe the patches on bug 29437 resolve the issue here (if a slightly
> > different implementation)
> > 
> > *** This bug has been marked as a duplicate of bug 29437 ***
> 
> Not the second patch.

Doesn't it? 

The second patch here pushed the conditions to an array depending on whether we
think we have an ISBN or not

Bug 29437 removes the attempt to determine which kind of query we have and
instead uses 'OR' and builds the same condition each time.

As the overlap between title/author and ISBN is very small I think one
condition that searches all the fields resolves the issue

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list