Koha-clms/installer/data/mysql
Tomas Cohen Arazi a60cd8a6b7 Bug 8018: (followup) make the default more explicit
This patch:
- Makes the new subfield tab show maxlength=9999 as default (instead of
  empty-then-zero).
- Updates the help to make exlpicit that 0 or empty defaults to 9999.
- Assumes all the subfields created with maxlength=0 inadvertedly are
  meant to mean "no limit" and hence update the database to reflect
  that.

To test (this patch and Pablo's):
- Edit a MARC framework, edit some field's subfields.
- Use the 'New' tab to create a new subfield (choose an unused letter).
- See in "More constrains" that the "Max length" field is empty. Leave
  it as-is.
- Save the changes (the new subfield).
- Edit the field again, verify that "Max length" is 0.
- Try tu use the framework and the the field/subfield just created
  > FAIL
- Apply the patches, upgrade
- Try to use the framework/field/subfield > SUCCESS (0 was converted to
  9999)
- Repeat from the begining, "Max length" should show 9999 on the new
  subfield tab.
- Leave it empty, it is saved as 9999.

Edit: small typo

Sponsored-by: Universidad Nacionald de Cordoba
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and tests in t and xt.
Tested:
- deleting an existing subfield
- adding a new subfield with new default 9999
- editing the new subfield, changing value to 8888
- deleting new subfield
- adding new subfield, using 8888 as length

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit b5eab7c20b)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

Conflicts:
	installer/data/mysql/updatedatabase.pl

(cherry picked from commit 828d9b9f20)
2014-02-07 11:47:38 -03:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
en Bug 11086: (follow-up) editing the database files also 2013-12-05 14:59:40 -03:00
es-ES Bug 11086: (follow-up) editing the database files also 2013-12-05 14:59:40 -03:00
fr-FR Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
it-IT Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
nb-NO Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
pl-PL Bug 11086: (follow-up) editing the database files also 2013-12-05 14:59:40 -03:00
ru-RU Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
uk-UA Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-11-13 12:21:58 -03:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 11275: make deleteditems.materials be of type text 2013-12-17 12:31:34 -03:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sample_only_param_tables.sql
…
sysprefs.sql Bug 10593: make AuthoritiesLog default to yes 2013-09-13 14:05:57 -03:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 8018: (followup) make the default more explicit 2014-02-07 11:47:38 -03:00