[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 Oct 8 15:15:56 CEST 2021


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125580|0                           |1
        is obsolete|                            |
 Attachment #125582|0                           |1
        is obsolete|                            |
 Attachment #125597|0                           |1
        is obsolete|                            |
 Attachment #125624|0                           |1
        is obsolete|                            |

--- Comment #30 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 125957
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125957&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>
Signed-off-by: George Williams <george at nekls.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list