Holdings Editor does pcrud lookup on any barcode change
Bug #1929136 reported by
Jeff Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned | ||
3.6 |
Fix Released
|
Low
|
Unassigned |
Bug Description
EG 3.7/master
1. In the staff client, retrieve a bib record.
2. Go to Holdings View and click on Add Holdings. (Alternatively, edit existing holdings and click Show Holdings Details so the barcode field is displayed.)
3. Type some characters in the barcode field.
The client will immediately do a separate open-ils.
To avoid excessive pcrud calls, these lookups should only happen when focus leaves the barcode field, or else after a short timeout.
Changed in evergreen: | |
milestone: | 3.7.1 → 3.7.2 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Working branch user/jeffdavis/ lp1929136- holdings- editor- delay-barcode- lookup adds a 1000ms delay before doing the lookup:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1929136- holdings- editor- delay-barcode- lookup
I think only doing the pcrud call on change of focus would be better, but I'm not sure if there would be unwanted side-effects. We could also make the delay longer.