[Koha-bugs] [Bug 8350] $search = '0' or 0 will fail to affect SQL statement correctly in C4::Breeding
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 6 17:02:37 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8350
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julian.maurice at biblibre.com
--- Comment #3 from Julian Maurice <julian.maurice at biblibre.com> ---
Patch looks ok, but I'm not able to reproduce a bug.
git grep tells me that the unique place where BreedingSearch is used is
cataloguing/addbooks.pl.
In cataloguing/addbooks.pl, if I search '0' or 0, BreedingSearch is not called,
because of "if($query)" in script.
If you want to allow searching for string '0', I think you should modify
addbooks.pl as well.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list