Bug 16245: [QA Follow-up] Replace typeofrecord2 by biblevel
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 14 Oct 2016 08:01:12 +0000 (10:01 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 14:51:55 +0000 (14:51 +0000)
commit556a4870d6beced7df52dbbc2ad472769e79e148
treea99018dfe4db724a90b3ded2ac1189a37e517e44
parenta74329af022eeb857e1f936c13274c0e41497472
Bug 16245: [QA Follow-up] Replace typeofrecord2 by biblevel

Position 7 of the leader is better referred to as biblevel.
(Pos 6 is record type.)
At the same time replacing some regex's by simple eq's.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
It seems that bib level in the UNIMARC leader only allows a subset of
the possible combinations for MARC21. This does not have bad side-effects
however in the new code that tests bib level to determine the type tag.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Ris.pm