https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26869
--- Comment #28 from Katrin Fischer <[email protected]> --- Pedro will be able to tell you more, but on first glance it seems good for UNIMARC: +sub marc_record_contains_item_data { + my ($record) = @_; + + my $itemfield = C4::Context->preference('marcflavour') eq 'UNIMARC' ? '995' : '952'; + my @item_fields = $record->field($itemfield); + return scalar @item_fields; +} We still need a sign-off, maybe you could test with a UNIMARC sandbox? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
