[Koha-bugs] [Bug 15812] Checkout search with too many results (single character search) causes poor performance or timeout
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 24 02:11:09 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15812
--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 125224
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125224&action=edit
Bug 15812: Use patron search in place of circ search
The 'Checkout' search hijacks some of the DataTables searching code used for
'Search patrons'
Rather than try to implement the search again on another page, we can simply
send the user
to the patron search if the cardnumber is not found
Additionally, this patch adds a 'Check out' button to the patron search results
to allow
going to checkotus directly
To test:
1 - Apply patch
2 - Perform a 'Checkout' search from the header
3 - Note that:
For a cardnumber, you are redirected directly to checkouts page for the
borrower
For a search with one result, you are redirected directly to the checkout
page for the borrower
For a search with many results, you are redirected to the patron search
results
and there is a 'Checkout' button under the cardnumber
4 - Confirm circulation page works as expected (i.e. checkout to a patron)
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list