diff --git a/C4/Search.pm b/C4/Search.pm
index ea54de1158..169eec9577 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1870,6 +1870,7 @@ sub searchResults {
$onloan_items->{$key}->{description} = $item->{description};
$onloan_items->{$key}->{imageurl} =
getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype} }->{imageurl} );
+ $onloan_items->{$key}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE');
# if something's checked out and lost, mark it as 'long overdue'
if ( $item->{itemlost} ) {
@@ -1969,6 +1970,7 @@ sub searchResults {
$other_items->{$key}->{location} = $shelflocations->{ $item->{location} } if $item->{location};
$other_items->{$key}->{description} = $item->{description};
$other_items->{$key}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} );
+ $other_items->{$key}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE');
}
# item is available
else {
@@ -1979,6 +1981,7 @@ sub searchResults {
}
$available_items->{$prefix}->{location} = $shelflocations->{ $item->{location} } if $item->{location};
$available_items->{$prefix}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} );
+ $available_items->{$prefix}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE');
}
}
} # notforloan, item level and biblioitem level
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
index 290224e76f..28558fef01 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -626,6 +626,9 @@
[% IF ( items_loo.location ) %]
[% items_loo.location | html %]
[% END %]
+ [% IF ( items_loo.collectioncode ) %]
+ [% items_loo.collectioncode | html %]
+ [% END %]
[% IF ( items_loo.itemcallnumber ) %]
[% items_loo.itemcallnumber | html %]