Angular catalog results display efficiency improvements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.4
The results display of the Angular catalog could use a few efficiency improvements.
1. The hold counts API call is made for each record retrieved. This could be batched to reduce network calls. As it stands, the result list displays 20 records at a time. That's 20 API calls that could be reduced to 1 (or 2, see below).
2. Because of the way records and related data are retrieved in batch, the results page often has no data to show until all 20 records are retrieved and fleshed out. Breaking the results retrieved into 2 batches (e.g. start with 5 records, then fetch the rest) allows the UI to start producing usable / displayable data earlier in the rendering process.
Suggestions welcome. Patch en route.
Changed in evergreen: | |
milestone: | 3.4.1 → 3.4.2 |
tags: | added: performance |
tags: | added: staffcatalog |
Changed in evergreen: | |
milestone: | 3.4.2 → 3.4.3 |
Changed in evergreen: | |
milestone: | 3.4.3 → 3.4.4 |
Patches pushed:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1849523- ang-cat- display- efficiency
This reduces the per-page API count from 21 to 3 while still providing quick turnaround for the first set of results.