Use batch methods for multi-row grid actions
Bug #1896285 reported by
Jeff Davis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.5 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There are a few places in the client where performing an action on multiple rows results in at least one API call per row. It would be better to bundle such actions into a single call to a batch method.
For example:
1. In Item Status, upload a CSV file of 100 barcodes.
2. Select all rows.
3. Actions > Mark as Missing.
This results in 100 separate calls to open-ils.
Changed in evergreen: | |
importance: | Undecided → Wishlist |
Changed in evergreen: | |
importance: | Wishlist → Medium |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
tags: | added: parallel-requests |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Another example:
1. Do a patron search that returns a large number of results (e.g. all patrons where profile = "Users").
2. Select all rows.
3. Add To Bucket.
There will be one open-ils. actor.container .item.create call per row, which can exhaust open-ils.actor drones pretty quickly with a sufficiently large number of rows.