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)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 30 Sep 2021 17:37:52 +0000 (13:37 -0400)
commit8667a53db12e2c039f460766cdf0fe436b74e2bd
treed839dc576063a100e96523e6b2b67a24a6bd685c
parent224f64edcd4d5b6e3b9b06e210f482ed4dfd16d1
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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js