Koha/installer/data/mysql
Magnus Enger 361e5f83e2 Bug 7055 - NORMARC: Fix 008 position 15-17 and 35-37
This patch does several things:
- Set the default for 008/15-17 to "no " (yes, there is space at the end)
- Link from 008/15-17 in the value builder to NORMARC country codes
- Set the default for 008/35-37 to "nor" (by setting the
  DefaultLanguageField008 syspref)
- Link from 008/35-37 in the value builder to NORMARC language codes
- Fix a missing <tr> around field 35-37

To reproduce:
- Run through the Web-installer in Norwegian and choose NORMARC as
  the MARC flavour
- Go to Home > Cataloging > Add MARC record and add a new record
- Click in the field for 008. The default should look like:
  130415t        xxu||||| |||| 00| 0 eng d
                 ^^^                 ^^^
- Reload the page and open the value builder for 008. Problems:
  - The text for 15-17 links to MARC21 country codes
  - The default for 15-17 is xxu
  - The text for 35-37 links to MARC21 language codes
  - The default for 35-37 is eng
  - If you choose e.g. "Monografier" in the top dropdown then click
    on "OK" the window does not close

To test:
- Apply the patch and run through the Web-installer again, selecting
  Norwegian and NORMARC
- Go to Home > Cataloging > Add MARC record and add a new record
- Click in the field for 008. The default should look like:
  130415t        no ||||| |||| 00| 0 nor d
                 ^^^                 ^^^
- Reload the page and open the value builder for 008.
- Check that...
  - The default for 15-17 is "no " (with a space at the end)
  - The link goes to NORMARC country codes
  - The default for 35-37 is "nor"
  - The link goes to NORMARC language codes
- Select something from the top dropdown and click "OK". Check that the
  window closes and that the values that are entered into the 008 field
  matches what you chose in the popup window.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Trusing Magnus is right, so testing for any regressions mainly, all good

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Only changes NORMARC specific plugin and system preferences
files. Changes all seem logical to me.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-01 07:45:21 -04:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10050: Update German web installer files for 3.12 - Language settings 2013-04-25 21:22:12 -04:00
en Followup 2 - Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
es-ES Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
fr-FR Bug 9831: Correct and add authorised values un French UNIMARC installer 2013-04-25 22:13:25 -04:00
it-IT Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
nb-NO Bug 7055 - NORMARC: Fix 008 position 15-17 and 35-37 2013-05-01 07:45:21 -04:00
pl-PL Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
ru-RU Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
uk-UA Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
backfill_statistics.pl
kohastructure.sql Bug 2046 - Suggestions: Title Field too small 2013-04-27 08:11:36 -04:00
labels_upgrade.pl
patroncards_upgrade.pl
sample_only_param_tables.sql
sysprefs.sql Bug 10103 UniqueItemFields is missing from sysprefs.sql 2013-04-26 18:17:05 -04:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 2046: Increment version number 2013-04-27 08:11:39 -04:00