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)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 13:14:49 +0000 (15:14 +0200)
commit6b02b7404dbaf4a9c266cdc6a23ddba829ffdf81
treef9eb2f9f9a337cae6607f78a8c66776f2106bb3b
parent14b662558019a4b3c1ff3923a8455f43fc878233
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>
(cherry picked from commit 556a4870d6beced7df52dbbc2ad472769e79e148)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Ris.pm