[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 12:58:01 CEST 2021


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125224|0                           |1
        is obsolete|                            |

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 125234
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125234&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)

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list