Bug 31447: Use holds pick up branch in "Please confirm checkout" message
When one tries to check out item which has hold in it, "Please confirm checkout" message uses patrons home library instead of holds pick up library. It would be more logical to use latter here. To test: 1. Find record with holds. 2. For first priority hold, change it's pick up library to differ from patrons homebranch if needed. 3. Check out records item for a different patron. => Note that notice reads: "Item ... has been on hold for ... at [patrons homebranch] since ...". 4. Apply this patch. 5. Repeat steps 2 and 3. => Notice should now read: "Item ... has been on hold for ... at [holds pick up branch] since ...". Sponsored-by: Koha-Suomi Oy Signed-off-by: Axelle Clarisse <axelle.clarisse@univ-amu.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
499ae7077d
commit
a02813fb5b
1 changed files with 3 additions and 3 deletions
|
@ -1191,7 +1191,7 @@ sub CanBookBeIssued {
|
|||
$needsconfirmation{'ressurname'} = $patron->surname;
|
||||
$needsconfirmation{'rescardnumber'} = $patron->cardnumber;
|
||||
$needsconfirmation{'resborrowernumber'} = $patron->borrowernumber;
|
||||
$needsconfirmation{'resbranchcode'} = $patron->branchcode;
|
||||
$needsconfirmation{'resbranchcode'} = $res->{branchcode};
|
||||
$needsconfirmation{'resreservedate'} = $res->{reservedate};
|
||||
$needsconfirmation{'reserve_id'} = $res->{reserve_id};
|
||||
}
|
||||
|
@ -1202,7 +1202,7 @@ sub CanBookBeIssued {
|
|||
$needsconfirmation{'ressurname'} = $patron->surname;
|
||||
$needsconfirmation{'rescardnumber'} = $patron->cardnumber;
|
||||
$needsconfirmation{'resborrowernumber'} = $patron->borrowernumber;
|
||||
$needsconfirmation{'resbranchcode'} = $patron->branchcode;
|
||||
$needsconfirmation{'resbranchcode'} = $res->{branchcode};
|
||||
$needsconfirmation{'resreservedate'} = $res->{reservedate};
|
||||
$needsconfirmation{'reserve_id'} = $res->{reserve_id};
|
||||
}
|
||||
|
@ -1213,7 +1213,7 @@ sub CanBookBeIssued {
|
|||
$needsconfirmation{'ressurname'} = $patron->surname;
|
||||
$needsconfirmation{'rescardnumber'} = $patron->cardnumber;
|
||||
$needsconfirmation{'resborrowernumber'} = $patron->borrowernumber;
|
||||
$needsconfirmation{'resbranchcode'} = $patron->branchcode;
|
||||
$needsconfirmation{'resbranchcode'} = $res->{branchcode};
|
||||
$needsconfirmation{'resreservedate'} = $res->{reservedate};
|
||||
$needsconfirmation{'reserve_id'} = $res->{reserve_id};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue