Bug 15752: Automatically switch to patron when cardnumber is read during circulation
authorChad Billman <chad@pennmanor.net>
Thu, 21 Jan 2016 15:59:01 +0000 (10:59 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 20:38:57 +0000 (17:38 -0300)
commit4dea9b80f9b2bc38af42ed532297f2554dd10a0a
treee717eb000eb3c20ad347eb5633dead7796e0a236
parent38e8b47e262cfe1c53770d91a6c700594b438e11
Bug 15752: Automatically switch to patron when cardnumber is read during circulation

With this syspref enabled scanning a patron barcode into the item
barcode field during circulation will redirect you to the patron's
circulation page.

This allows circulation with only a barcode scanner.

Testing:

- Enable the AutoSwitchPatron syspref
- Navigate to a patron's check out screen
- Enter a patron barcode into the "Enter item barcode" field

Result
- Browser should be redirected to the entered patron

Signed-off-by: Joel <aloi54@live.fr>

Followed test plan, patch works as described
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
circ/circulation.pl
installer/data/mysql/atomicupdate/Bug15752_CircAutoSwitchPatron.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref