LP1823367 Volume moniker migration continued
authorBill Erickson <berickxx@gmail.com>
Thu, 18 Jul 2019 21:30:56 +0000 (17:30 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 18:11:31 +0000 (14:11 -0400)
Map a server-generated 'volume' field to its local/client equivalent of
'callNum'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/share/holds/holds.service.ts

index 231b44c..a6ddb7e 100644 (file)
@@ -131,6 +131,7 @@ export class HoldsService {
         ).pipe(mergeMap(meta => {
             const target: HoldRequestTarget = meta;
             target.bibId = target.bibrecord.id();
+            target.callNum = meta.volume; // map to client terminology
 
             return this.bib.getBibSummary(target.bibId)
             .pipe(map(sum => {