Skip to content

Commit

Permalink
circulation: fix checkin patron info
Browse files Browse the repository at this point in the history
* Closes rero/rero-ils#3509.

Co-Authored-by: Pascal Repond <[email protected]>
  • Loading branch information
PascalRepond committed Nov 13, 2023
1 parent 1bbfe69 commit b82f47d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b82f47d

Please sign in to comment.