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

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

Return to bug 20067