Koha-clms/circ
Kyle M Hall 26efec07d7 Bug 17352 - Patron search type is hard coded to 'contain' in circ/circulation.pl
The patron search type is hard coded to 'contain' in
circ/circulation.pl.

This causes problems because a mis-scanned cardnumber can bring up the
wrong patron.

The example that our partner gave us involved scanning '1733', which
doesn't match any borrowers when we do a 'start_with' search, but
matches the cardnumber 'p291733'.

If we follow the usage in members/member.pl, we can set searchtype in
HTTP params, which is amenable to fixes in intranetuserjs

Test Plan:
1) Apply this patch
2) Use the checkout search, not changes should be noted

Extra credit:
1) Add javascript to intranetuserjs to add a hidden input named
'searchtype' with the value 'start_with'
2) Checkout searches should now give only results where a searched
   field starts with the given string(s)

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 56da7be50a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2016-10-22 10:18:25 +02:00
..
add_message.pl Bug 15632: Koha::Patron::Messages - (follow-up) Remove AddMessage 2016-03-03 21:22:15 +00:00
bookcount.pl
…
branchoverdues.pl
…
branchtransfers.pl Bug 12045 - Transfer impossible if barcode includes spaces 2016-01-27 01:08:01 +00:00
circulation-home.pl
…
circulation.pl Bug 17352 - Patron search type is hard coded to 'contain' in circ/circulation.pl 2016-10-22 10:18:25 +02:00
del_message.pl Bug 15632: Koha::Patron::Messages - Remove DeleteMessage 2016-03-03 21:22:13 +00:00
hold-transfer-slip.pl
…
offline-mf.pl
…
offline.pl
…
on-site_checkouts.pl
…
overdue.pl Bug 17001: fix due date filter on the overdue report 2016-08-23 12:49:38 +02:00
pendingreserves.pl Bug 15560: Fix display of multiple item types in pending reserves report 2016-01-23 18:31:38 +00:00
renew.pl Bug 15462 - Unable to renew books via circ/renew.pl 2016-01-07 18:21:21 +00:00
reserveratios.pl Bug 15672: (follow-up) Show descriptions instead of codes on the hold ratios report 2016-03-23 21:07:04 +00:00
returns.pl Bug 15172: Serial enumchron/sequence not visible when returning/checking in Items 2016-08-01 11:10:16 +02:00
selectbranchprinter.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
transfer-slip.pl
…
transferstoreceive.pl
…
view_holdsqueue.pl
…
waitingreserves.pl Bug 17010 - Canceling a hold awaiting pickup no longer alerts librarian about next hold 2016-09-15 17:05:36 +02:00
ypattrodue-attr-search-authvalue.pl
…
ysearch.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00