[Koha-bugs] [Bug 7702] Test for C4::Heading::MARC21 should only run under MARC21
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 26 22:19:33 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7702
--- Comment #8 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to comment #2)
> To be absolutely explicit, I'd recommend change the conditional from "if not
> UNIMARC" to "if MARC21 OR NORMARC", so if we later implement another form of
> MARC, we won't have to remember to adjust this. Ounce of prevention and all
> that....
I think this uses the same logic as elsewhere in the code where we branch out
based on the marcflavour syspref. Here's some code from C4/Koha.pm:
if ($marcflavour eq 'UNIMARC') {
...
} else { # assume marc21 if not unimarc
...
}
NORMARC can (luckily) be treated as MARC21 in a lot of contexts.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list