Bug 7397

Summary: Patron search from Checkout tab does 'contains' instead of 'starts_with' search
Product: Koha Reporter: Ian Walls <koha.sekjal>
Component: PatronsAssignee: Ian Walls <koha.sekjal>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P5 - low CC: ago, barton, fridolin.somers, gmcharlt, wizzyrea
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Ian Walls 2012-01-02 20:56:08 UTC
When searching for a patron using the Checkout tab, instead of the main Patron search, inexact searches (those returning more than 1 hit) do a 'contains' search instead of a 'starts_with' search (as one would expect from the Patron search module's behaviour).  The result is many, many more results than one would otherwise expect.

The call to Search() in circ/circulation.pl seems to be malformed given the documentation for how C4::Members::Search works.
Comment 1 Liz Rea 2012-03-19 19:03:45 UTC
Also, there had been discussion about removing the small results box in favor of just bringing back full results like the patron search does.
Comment 2 Albert Oller 2012-07-27 13:16:16 UTC
Is this a duplicate of 5370?
Comment 3 Albert Oller 2012-07-27 13:17:13 UTC
sorry, 5730 not 5370
Comment 4 Owen Leonard 2012-07-27 13:28:58 UTC
Write "Bug 5730" to activate automatic linking.
Comment 5 Barton Chittenden 2015-11-30 18:39:09 UTC
"Bug 5730" is concerned with the members search page; this bug has to do with the search on the check-out tab.
Comment 6 Fridolin Somers 2016-08-11 08:37:18 UTC
Obsolete since Bug 15930 ?
Comment 7 Liz Rea 2019-04-10 15:16:05 UTC
Yep!