From 1a5b689c09bb94b1c1e6965dc7ddb1cd34bb9540 Mon Sep 17 00:00:00 2001 From: Claire Gravely Date: Thu, 7 Dec 2017 07:35:37 +0000 Subject: [PATCH] Bug 19769: 'Pickup library is different' message does not display library branch name when placing hold When placing a hold for a patron whose pickup library and home library are different, the message displayed only shows the branch code and not the branch name. This patch displays the branch name as well as the branch code. To test: 1. Search for an item 2. Click 'place hold' 3. Enter patron name/card number for a patron whose home library is different to the item's 4. Note the message displayed only shows the branch code but not the name 5. Apply Patch 6. Repeat 1-3 7. Message should now also display the branch name https://bugs.koha-community.org/show_bug.cgi?id=19769 Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 02c50b9..c84576b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -323,7 +323,7 @@ function checkMultiHold() { [% END %] [% IF ( diffbranch ) %] -
  • Pickup library is different. Patron: [% borrowerfirstname %] [% borrowersurname %] Patron's home library: ([% borrower_branchname %] / [% borrower_branchcode %] )
  • +
  • Pickup library is different. Patron: [% borrowerfirstname %] [% borrowersurname %] Patron's home library: ([% Branches.GetName(borrower_branchcode) %] / [% borrower_branchcode %] )
  • [% END %] -- 2.1.4