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

(-)a/catalogue/detail.pl (-2 / +1 lines)
Lines 212-218 if ( $mss->count ) { Link Here
212
    $template->param( itemdamagedloop => GetAuthorisedValues( $mss->next->authorised_value ) );
212
    $template->param( itemdamagedloop => GetAuthorisedValues( $mss->next->authorised_value ) );
213
}
213
}
214
214
215
$mss = Koha::MarcSubfieldStructures->search({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => { not => undef } });
215
$mss = Koha::MarcSubfieldStructures->search({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => [ -and => {'!=' => undef }, {'!=' => ''}] });
216
my %materials_map;
216
my %materials_map;
217
if ($mss->count) {
217
if ($mss->count) {
218
    my $materials_authvals = GetAuthorisedValues($mss->next->authorised_value);
218
    my $materials_authvals = GetAuthorisedValues($mss->next->authorised_value);
219
- 

Return to bug 20067