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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Mar 2013 18:47:15 +0000 (14:47 -0400)
commitda4bc6a6315a7f5aca1bb3105549758b8acd7592
treed9b38ddebcbad3bab01cf19f97b71c20fd94693c
parentd0f3a49d9672cd018a51168b05db7a9d1f17f250
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>
installer/data/mysql/updatedatabase.pl