[Koha-bugs] [Bug 1707] Search for patron '%' returns all results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 10:22:50 CET 2016


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

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57068
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57068&action=edit
Bug 1707: Do not return more than 100 patrons matching the attributes search

As you can feel, this patch is not perfect as we are hardcodind the
number of results to return.
But this number should be correct in the most cases.

Test plan:
With a large number of patrons, using attributes, you can search for
something very generic, like '%'.
Without this patch, the MySQL server could be overloaded because of the
generated query (built from borrowernumbers).

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


More information about the Koha-bugs mailing list