From b82f47d328651e262ef4b0ac275e4e39567d399f Mon Sep 17 00:00:00 2001 From: Pascal Repond Date: Thu, 9 Nov 2023 08:59:07 +0100 Subject: [PATCH] circulation: fix checkin patron info * Closes https://github.com/rero/rero-ils/issues/3509. Co-Authored-by: Pascal Repond --- projects/admin/src/app/circulation/checkin/checkin.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/admin/src/app/circulation/checkin/checkin.component.ts b/projects/admin/src/app/circulation/checkin/checkin.component.ts index 77463e64a..b2e40992b 100644 --- a/projects/admin/src/app/circulation/checkin/checkin.component.ts +++ b/projects/admin/src/app/circulation/checkin/checkin.component.ts @@ -126,7 +126,7 @@ export class CheckinComponent implements OnInit { case ItemAction.checkin: this._displayCirculationNote(item, ItemNoteType.CHECKIN); if (item.action_applied && item.action_applied.checkin) { - this.getPatronInfo(item.action_applied.checkin.patron.barcode[0]); + this.getPatronInfo(item.action_applied.checkin.patron.barcode); } if (item.status === ItemStatus.IN_TRANSIT) { this._toastService.warning(