View | Details | Raw Unified | Return to bug 2465
Collapse All | Expand All

(-)a/C4/Reserves.pm (-1 / +1 lines)
Lines 824-830 sub GetReserveStatus { Link Here
824
    }
824
    }
825
825
826
    if(defined $found) {
826
    if(defined $found) {
827
        return 'Waiting'  if $found eq 'W' and $priority == 0;
827
        return 'Waiting'  if ($found eq 'W' || $found eq 'T') and $priority == 0;
828
        return 'Finished' if $found eq 'F';
828
        return 'Finished' if $found eq 'F';
829
    }
829
    }
830
830
(-)a/C4/Search.pm (-3 / +2 lines)
Lines 1956-1969 sub searchResults { Link Here
1956
                    || $item->{itemlost}
1956
                    || $item->{itemlost}
1957
                    || $item->{damaged}
1957
                    || $item->{damaged}
1958
                    || $item->{notforloan}
1958
                    || $item->{notforloan}
1959
                    || $reservestatus eq 'Waiting'
1959
                    || $reservestatus eq 'Waiting' || $reservestatus eq 'Reserved'
1960
                    || ($transfertwhen ne ''))
1960
                    || ($transfertwhen ne ''))
1961
                {
1961
                {
1962
                    $withdrawn_count++        if $item->{withdrawn};
1962
                    $withdrawn_count++        if $item->{withdrawn};
1963
                    $itemlost_count++        if $item->{itemlost};
1963
                    $itemlost_count++        if $item->{itemlost};
1964
                    $itemdamaged_count++     if $item->{damaged};
1964
                    $itemdamaged_count++     if $item->{damaged};
1965
                    $item_in_transit_count++ if $transfertwhen ne '';
1965
                    $item_in_transit_count++ if $transfertwhen ne '';
1966
                    $item_onhold_count++     if $reservestatus eq 'Waiting';
1966
                    $item_onhold_count++     if $reservestatus eq 'Waiting' || $reservestatus eq 'Reserved';
1967
                    $item->{status} = $item->{withdrawn} . "-" . $item->{itemlost} . "-" . $item->{damaged} . "-" . $item->{notforloan};
1967
                    $item->{status} = $item->{withdrawn} . "-" . $item->{itemlost} . "-" . $item->{damaged} . "-" . $item->{notforloan};
1968
1968
1969
                    # can place a hold on a item if
1969
                    # can place a hold on a item if
1970
- 

Return to bug 2465