Lines 1653-1659
sub searchResults {
Link Here
|
1653 |
($reservestatus, $reserveitem) = C4::Reserves::CheckReserves($item->{itemnumber}); |
1653 |
($reservestatus, $reserveitem) = C4::Reserves::CheckReserves($item->{itemnumber}); |
1654 |
} |
1654 |
} |
1655 |
|
1655 |
|
1656 |
# item is withdrawn, lost or damaged |
1656 |
# item is withdrawn, lost, damaged, not for loan, reserved or in transit |
1657 |
if ( $item->{wthdrawn} |
1657 |
if ( $item->{wthdrawn} |
1658 |
|| $item->{itemlost} |
1658 |
|| $item->{itemlost} |
1659 |
|| $item->{damaged} |
1659 |
|| $item->{damaged} |
Lines 1667-1672
sub searchResults {
Link Here
|
1667 |
$item_in_transit_count++ if $transfertwhen ne ''; |
1667 |
$item_in_transit_count++ if $transfertwhen ne ''; |
1668 |
$item_onhold_count++ if $reservestatus eq 'Waiting'; |
1668 |
$item_onhold_count++ if $reservestatus eq 'Waiting'; |
1669 |
$item->{status} = $item->{wthdrawn} . "-" . $item->{itemlost} . "-" . $item->{damaged} . "-" . $item->{notforloan}; |
1669 |
$item->{status} = $item->{wthdrawn} . "-" . $item->{itemlost} . "-" . $item->{damaged} . "-" . $item->{notforloan}; |
|
|
1670 |
# only withdrawn, lost and damaged avoid placing hold on item |
1671 |
$can_place_holds = 1 unless ($item->{withdrawn} || $item->{itemlost} || $item->{damaged}); |
1672 |
|
1670 |
$other_count++; |
1673 |
$other_count++; |
1671 |
|
1674 |
|
1672 |
my $key = $prefix . $item->{status}; |
1675 |
my $key = $prefix . $item->{status}; |
1673 |
- |
|
|