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>
Fri, 4 Jun 2021 20:14:16 +0000 (16:14 -0400)
commit56e6a8e7a3ac07cfef55dd102b9db8e5337a7688
treebb67c22adb5fc0392a8ea1ed6397c021014b0608
parent803db1d902823b3fcbbf569094a058076abe58d2
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