LP1889694 Staff catalog record summary API user/berick/lp1889694-staffcat-record-summary-api
authorBill Erickson <berickxx@gmail.com>
Fri, 31 Jul 2020 14:54:28 +0000 (10:54 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 31 Jul 2020 17:57:51 +0000 (13:57 -0400)
commit9490e8f68d3f852d0a3946cfa29f5cf22da872f8
tree9e207b90021dad366eb182b9385deefc8750f930
parente8afbd4634f2c60acd587781c48a0aaa6ca282d5
LP1889694 Staff catalog record summary API

Replaces a number of result page and record detail page API calls with a
bespoke API specifically created to return the data required for display
bib and metabib record summary information in the catalog.

Specifically, a single streaming API this replaces the following:

* fleshed record retrieval
** including record display fields and attributes processing.
* copy count retrieval
* hold count retrieval

The end result is 22 API calls per results page replaced with 2.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
12 files changed:
Open-ILS/src/eg2/src/app/share/catalog/bib-record.service.ts
Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/cat/vandelay/queued-record-matches.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.html
Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html
Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm