Bug 13415 - Prevent librarians from scanning multiple items into a single barcode...
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 Dec 2014 11:30:36 +0000 (06:30 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 19 Dec 2014 20:41:11 +0000 (17:41 -0300)
commit38bddc0020e9d01b24e00008f40b5f1b5744421c
tree60592294f7a38d53c6b372339811b989720948f5
parent9412b905993fedeef5f5198e9f94e4f38227d227
Bug 13415 - Prevent librarians from scanning multiple items into a single barcode field

It appears that some librarians will attempt to scan items as fast as
they can without checking to make sure the checkout was submitted and
the page reloaded properly. This can cause multiple barcodes to be
scanned into the barcode field if the person is fast enough.
This causes the checkout of both ( or more! ) items to fail.

Test Plan:
1) Apply this patch
2) Attempt to scan two or more items into the barcode field
   You can emulate this with a keybaord by hitting a few keys, then
   enter, then a few more keys, then enter again. The barcodes don't
   need to be valid for this test.
3) Note the dialog stating the barcode has been submitted and to please
   wait.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt