Bug 13099 - "Item hasn't been transferred yet" shows pickup branch rather than holding branch

The "Item hasn't been transferred yet" message on circulation.pl and
moremember.pl in the holds table shows the pickup branch rather than
holding branch.

Test Plan:
1) Place an item on hold for a patron
2) Check the item in to set the hold to waiting
3) Place an item level hold for another patron,
   make the pickup location be a different library
4) Load the holds tab on the patron details page for the second patron
5) Note it says "Item hasn't been transferred yet from <Pickup Library>"
6) Apply this patch
7) Repeat step 4
8) Note the library listed is now the holding library

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Kyle M Hall 2014-10-16 10:29:11 -04:00 committed by Tomas Cohen Arazi
parent d04d1851ce
commit 463d52ce15
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ while ( my $h = $holds_rs->next() ) {
$h->branchcode()->branchcode() )
{
$hold->{not_transferred} = 1;
$hold->{not_transferred_by} = $h->branchcode()->branchname();
$hold->{not_transferred_by} = $h->item()->holdingbranch()->branchname();
}
}