Followup Bug 9353: Missing subfields on MARC21 frameworks
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Thu, 10 Jan 2013 22:01:07 +0000 (19:01 -0300)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sun, 4 Aug 2013 03:01:22 +0000 (00:01 -0300)
commit459422c8bad09a8301cf47a7b39abf15a3b265ff
tree42fbb24c6bbad32125bf76eaba6ae6ee85b011fe
parente22738e3b16593ef5282b493818fe220fb889d24
Followup Bug 9353: Missing subfields on MARC21 frameworks

This followup changes updatedatabase.pl.
Only touch frameworks that have the missing subfields.

If both patches are applied, the test plan changes.

To test:
1) dev master system with default and example MARC21 frameworks
2) Go to Home > Administration > MARC frameworks
3) Click on 'MARC structure' of any framework
4) Search for tag 029 (or 863/4/5)
5) Click 'Subfields', there are none.
6) Apply both patches
7) run 'perl installer/data/mysql/updatedatabase.pl'
8) Repeat steps 2-4
9) Click 'Subfields', now they are.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Update works nicely. Checked various frameworks and
results were ok. Also new fields are hidden.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit da4bc6a6315a7f5aca1bb3105549758b8acd7592)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit da4bc6a6315a7f5aca1bb3105549758b8acd7592)
Solved conflict in updatedatabase.pl
This two are necessary for Bug 5858
installer/data/mysql/updatedatabase.pl