https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40508

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184743|0                           |1
        is obsolete|                            |

--- Comment #5 from David Nind <[email protected]> ---
Created attachment 184763
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184763&action=edit
Bug 40508: Add maxlength to marc21_framework_DEFAULT.yml

This patch adds maxlength to marc21_framework_DEFAULT.yml.
It uses the default of 9999 for most subfields except 000, 008,
and 952$p. The 000 and 008 use 24 and 40 respectively, although
this is already enforced by the sql_statements at the end of the
file.

The 952$p is set to 20, since the barcode DB field has a length of 20.

Test plan:
0. Apply the patch
1. Take down KTD
2. Bring up KTD
3. Look at the 000, 008, and 952 fields in the default framework
4. Note that 000 uses maxlength 24, 008 uses maxlength 40, 952$p uses
   maxlength 20, and every other subfield uses 9999

Signed-off-by: Owen Leonard <[email protected]>
Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to