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

--- Comment #5 from Petter Goksøyr Åsen <boutrosboutrosbout...@gmail.com> ---
I have put a limit on the query as you suggested:
http://paste.koha-community.org/135 
It's not in production yet, but testing in staging so far seems good.

The result is probably not accurate, as you said, but I think it's only
potentially wrong if you have a very wide search (i.e few numbers which matches
lots of borrowernumbers). If the result list is long, say tens of thousands, it
does not matter that its not accurate.

If you search for full fields (in our case its social security number as
extended patron attribute), the returned result is always correct

In my mind, it's quite dangerous that Koha allows to generate SQL-queries which
are several MB of text, which generated huge loads on our server, so I'd prefer
safety to accuracy here.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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