LP#1706147: handle multiple matches on patron barcode completion in web client
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 6 Oct 2017 18:15:05 +0000 (11:15 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 19:01:52 +0000 (14:01 -0500)
commit1602272de7f933446b8acfb8e1f227da0a2cadaf
treea8003f4045613ac0feadca3fddc3ce84fce0ba35
parent937eb0c692a9cdcf3f0d3cc64b84d06ca659bb50
LP#1706147: handle multiple matches on patron barcode completion in web client

To test:

1. Add a barcode completion rule for BR1, applying to users and set to
   active, where "BR1" is the prefix.

2. Create a user with barcode "BR100001" and home library BR1.

3. Create another user with barcode "00001".

4. Login to the web client with BR1 as your working location. Go to
   "Check Out Item" and enter barcode "00001". EG will retrieve one of
   the two accounts you created; it ought to present a dialog that
   allows you to choose between BR00001 and 00001 (or none of the above).

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js