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

(-)a/C4/XSLT.pm (-2 / +4 lines)
Lines 334-340 sub buildKohaItemsNamespace { Link Here
334
        elsif ($item->onloan) {
334
        elsif ($item->onloan) {
335
            $status = "Checked out";
335
            $status = "Checked out";
336
        }
336
        }
337
        elsif ( $item->notforloan && $item->notforloan > 0 || $item->itype && $itemtypes->{ $item->itype }->{notforloan} && $itemtypes->{ $item->itype }->{notforloan} == 1 ) {
337
        elsif ( $item->notforloan && $item->notforloan > 0
338
            || exists $itemtypes->{ $item->effective_itemtype }
339
            && $itemtypes->{ $item->effective_itemtype }->{notforloan} == 1 )
340
        {
338
            $status = "reference";
341
            $status = "reference";
339
        }
342
        }
340
        elsif ( $item->notforloan < 0) {
343
        elsif ( $item->notforloan < 0) {
341
- 

Return to bug 23414