From: Bill Erickson Date: Wed, 9 Jun 2021 15:16:08 +0000 (-0400) Subject: LP1929741 Cache LI after order ident change X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=edef20cce6bdc9e0b0f974f76c61793bd7405523;p=working%2FEvergreen.git LP1929741 Cache LI after order ident change Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem.service.ts b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem.service.ts index 9ee2f73ec4..379f94d3c6 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem.service.ts @@ -235,7 +235,7 @@ export class LineitemService { 'open-ils.acq', 'open-ils.acq.lineitem.order_identifier.set', this.auth.token(), args - ).pipe(switchMap(_ => this.getFleshedLineitems([li.id()])) + ).pipe(switchMap(_ => this.getFleshedLineitems([li.id()], {toCache: true})) ).pipe(map(struct => struct.lineitem)); }