From: Bill Erickson Date: Thu, 8 Oct 2020 14:31:59 +0000 (-0400) Subject: LP1889128 Clear patron barcode on staff hold X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9c1b15d32708f03384c4eb9e26ab10f3ca413236;p=working%2FEvergreen.git LP1889128 Clear patron barcode on staff hold Clear the patron barcode from the barcode input when toggling the holds placement form to request a hold for the logged in staff account. Otherwise, the barcode sticks around and could cause confusion. Signed-off-by: Bill Erickson Signed-off-by: Michele Morgan Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts index 935fa33c4b..2350890de1 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts @@ -298,8 +298,8 @@ export class HoldComponent implements OnInit { this.userBarcodeChanged(); } } else { - // To bypass the dupe check. - this.currentUserBarcode = '_' + this.requestor.id(); + this.userBarcode = null; + this.currentUserBarcode = null; this.getUser(this.requestor.id()); } }