]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
LP#1929136: delay barcode lookup on change in holdings editor
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 20 May 2021 21:51:17 +0000 (14:51 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 7 Jul 2021 14:27:32 +0000 (10:27 -0400)
commitcacc12ea0dd8892e89ed3ff15d21b64c33111184
treef83e6fc2c96e965342cfb227de78c49c2d59f94b
parent0b5d5f44b119b41d2d0d32370c3c1b8ed38e3659
LP#1929136: delay barcode lookup on change in holdings editor

In the Holdings Editor, any change to the barcode field results in an
immediate API call.  Thus, if you type the barcode "123456789", you
would get 9 separate calls: 1, 12, 123, 1234, 12345 ...

This commit adds a 1000ms delay to avoid excessive pcrud calls when
typing a barcode.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js