LP1849523 Angular catalog split record batches
authorBill Erickson <berickxx@gmail.com>
Wed, 23 Oct 2019 15:37:40 +0000 (11:37 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 3 Feb 2020 22:13:59 +0000 (17:13 -0500)
commitbc01502e2bca28ec523357e907148254472a7407
tree293006b810c4adbf83f9584b910d597e66feef5a
parent79685845309048960002a0d2935d1200557e58d3
LP1849523 Angular catalog split record batches

The result page of the Angular catalog now fetches the record info in 2
batches.  The first batch is relatively small (currently 5 records) and
allows the results page to start rendering results earlier in the
display process.  The second batch of records, which includes all the
rest of the results, then drops in as they arrive.

Note the first batch of records will be the first 5 results from the
search so the second batch of results can simply be appended and avoid
page shuffling.

Includes thinko fix for batched holds retrieval.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts