@@ -, +, @@ as in the past --- C4/XSLT.pm | 8 +++----- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 17 +++++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -338,16 +338,14 @@ sub buildKohaItemsNamespace { $status = "Checked out"; } elsif ( $item->notforloan ) { - $status = "reallynotforloan"; - $substatus = exists $descs{$item->{notforloan}} ? $descs{$item->{notforloan}}->{opac_description} : "Not for loan_$item->{notforloan}"; + $status = $item->notforloan < 0 ? "reallynotforloan" : "reference"; + $substatus = exists $descs{$item->notforloan} ? $descs{$item->notforloan}->{opac_description} : "Not for loan_".$item->notforloan; } elsif ( exists $itemtypes->{ $item->effective_itemtype } && $itemtypes->{ $item->effective_itemtype }->{notforloan} == 1 ) { $status = "reference"; - } - elsif ( $item->notforloan < 0) { - $status = "On order"; + $substatus = "Not for loan"; } else { $status = "available"; --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1312,11 +1312,16 @@ Items available for reference: - - + + + + ItemSummary + + - + + Call number: @@ -1324,7 +1329,7 @@ ( - + ) . , @@ -1341,8 +1346,8 @@
- - + + ItemSummary --