LP1929741 Cache LI after order ident change
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Jun 2021 15:16:08 +0000 (11:16 -0400)
committerJane Sandberg <js7389@princeton.edu>
Sun, 2 Oct 2022 15:02:49 +0000 (08:02 -0700)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem.service.ts

index 9ee2f73..379f94d 100644 (file)
@@ -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));
     }