]> 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:27:47 +0000 (10:27 -0400)
commit83c4e9327e6bd1b62a7d0bbe8b35448dbcf18f16
tree9d4fb4c492183f8756af822dcbbd602b1ceb18f7
parentc6e50ae7aca514a3b3db441df29162680279e0fb
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