Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
this.circ.lastCopyCirc(copy.id()).then(circ => {
if (circ) {
- this.router.navigate(['/staff/circ/patron', circ.usr(), 'checkout']);
+
+ const url = this.ngLocation.prepareExternalUrl(
+ `/staff/circ/patron/${circ.usr()}/checkout`);
+
+ window.open(url);
+
} else {
this.itemNeverCirced = copy.barcode();
setTimeout(() => this.toast.danger(this.itemNeverCircedStr.text));