LP1849523 Angular catalog split record batches user/berick/lp1849523-ang-cat-display-efficiency
authorBill Erickson <berickxx@gmail.com>
Wed, 23 Oct 2019 15:37:40 +0000 (11:37 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 23 Oct 2019 16:01:00 +0000 (12:01 -0400)
commite712d2bf992a0a54417db67ca36fedcb0053a9ca
treed37ae3e9869fff2e6be22cd9a4b9918eb07bae7f
parentf4bd84d4d99aafb0db9218da2deccfb2c318bb63
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