username login for web selfcheck collab/phasefx/selfcheck_login_with_usrname
authorJason Etheridge <jason@esilibrary.com>
Mon, 8 Aug 2011 19:22:34 +0000 (15:22 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 8 Aug 2011 19:22:34 +0000 (15:22 -0400)
commit7634cd7076b86ab620589ee5b8851377f2b3cad1
tree5b13d6513caf643dcdbfd0fee3975a19deed65c5
parentff7ea322f7d9010643760f01f201a6329209763c
username login for web selfcheck

Changes the behavior for the patron-login component (after staff login) to match
the OPAC.  By default, it assumes you are logging in with a usrname, but if the
org unit setting 'opac.barcode_regex' is enabled and the incoming value matches,
then it gets treated as a library card barcode instead. If usrname is used, then
the card referenced by actor.usr.card is checked in lieu of a specified barcode.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js