Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Tomas Cohen Arazi b5eab7c20b 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>
2013-12-27 00:34:50 +00:00
..
acqui Bug 9807: (follow-up) reindent basketgroup.tt 2013-12-17 17:40:24 +00:00
admin Bug 8230: Display acquisition details on the catalogue detail page 2013-12-13 23:22:05 +00:00
authorities bug 5202: (follow-up) adjust for the move of the merge record Javascript 2013-10-10 21:50:08 +00:00
basket Bug 9218: fix intranet cart email for non english templates 2013-10-31 23:53:25 +00:00
batch
catalogue Bug 9673: QA followup 2013-12-19 06:27:46 +00:00
cataloguing Bug 11004: Make xmlControlfield.js use the marcflavour syspref to look for XML files 2013-12-25 16:02:57 +00:00
circ Bug 10626: (follow-up) replace an instance of KohaAuthorisedValues 2013-12-20 04:17:44 +00:00
course_reserves Bug 10634 - Use datatables for course details items table 2013-09-04 14:19:03 +00:00
errors
help Bug 8018: (followup) make the default more explicit 2013-12-27 00:34:50 +00:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 10850 - give quick spine label template page its own ID 2013-10-18 04:51:14 +00:00
members Bug 11009: (follow-up) tweak wording and remove potential log noise 2013-12-10 20:20:37 +00:00
offline_circ Bug 10288 - Fix a tiny typo on "Pending offline circulation actions" 2013-05-20 12:23:32 -07:00
patron_lists Bug 10565: (follow-up) improve navigation aids 2013-10-14 22:43:03 +00:00
patroncards Bug 9924 - Simplify and rename patron card creator error message include 2013-09-08 19:19:23 +00:00
plugins
reports Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
reserve Bug 10917: allow staff to update hold pickup location without modify_holds_priority 2013-10-08 14:23:07 +00:00
reviews
rotating_collections
serials Bug 11228: Improve hint on patron notification when adding/editing subscriptions 2013-12-19 15:10:26 +00:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms
suggestion Bug 10626: Remove doubled up TT plugins - Merge KohaAuthorisedValues and AuthorisedValues 2013-12-20 04:14:45 +00:00
tags Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 11414: warn user about dangerous MARC modification rules 2013-12-23 16:06:57 +00:00
virtualshelves Bug 9757: Remove duplicated action buttons. 2013-06-26 09:04:37 -07:00
z3950
about.tt Bug 7143: Adding RMaint for 3.8 to release team 2013-12-13 15:12:14 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10888: Don't hide authorities module from users who lack permission to edit authorities 2013-09-21 17:59:05 +00:00