Lines 612-631
$template->param(
Link Here
|
612 |
soundon => C4::Context->preference("SoundOn"), |
612 |
soundon => C4::Context->preference("SoundOn"), |
613 |
); |
613 |
); |
614 |
|
614 |
|
615 |
### Comment out rotating collections for now to allow it a little more time to bake |
615 |
my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); |
616 |
### for 3.4; in particular, must ensure that it doesn't fight with transfers required |
616 |
if ( $itemnumber ) { |
617 |
### to fill hold requests |
617 |
my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
618 |
### -- Galen Charlton 2010-10-06 |
618 |
if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
619 |
#my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); |
619 |
$template->param( |
620 |
#if ( $itemnumber ) { |
620 |
collectionItemNeedsTransferred => 1, |
621 |
# my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
621 |
collectionBranch => GetBranchName($collectionBranch), |
622 |
# if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
622 |
); |
623 |
# $template->param( |
623 |
} |
624 |
# collectionItemNeedsTransferred => 1, |
624 |
} |
625 |
# collectionBranch => GetBranchName($collectionBranch), |
|
|
626 |
# ); |
627 |
# } |
628 |
#} |
629 |
|
625 |
|
630 |
# actually print the page! |
626 |
# actually print the page! |
631 |
output_html_with_http_headers $query, $cookie, $template->output; |
627 |
output_html_with_http_headers $query, $cookie, $template->output; |