[Koha-bugs] [Bug 30008] Software error in details.pl when invalid MARCXML and showing component records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 18 09:15:35 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30008
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|testopia at bugs.koha-communit |m.de.rooy at rijksmuseum.nl
|y.org |
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Small note:
+ if ( my $components = $marc_record ?
$biblio->get_marc_components(C4::Context->preference('MaxComponentRecords')) :
undef ) {
>From a theoretical perspective I would prefer to test $biblio here instead of
$marc_record.
If there is a biblio object, I can call it and if there is somehow no marc
record, then I expect no components back ;)
But it works, ok.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list