]> git.evergreen-ils.org Git - Evergreen.git/commit
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:28:05 +0000 (10:28 -0400)
commitadf4b341b81ff77b3cc13cd2f642a747778d0231
tree6cfeb53ff0f5a747bd6b1808f937f4971a064668
parentebcfc2dc362565386f8a81d127d2865a0982c25e
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