Bugzilla – Attachment 105352 Details for
Bug 25386
Internal server error when duplicate/too long barcodes are used in acquisition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25386: Set maxlength=20 for items.barcode
Bug-25386-Set-maxlength20-for-itemsbarcode.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2020-05-26 10:20:15 UTC
(
hide
)
Description:
Bug 25386: Set maxlength=20 for items.barcode
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-26 10:20:15 UTC
Size:
1.22 KB
patch
obsolete
>From 54b0c2c18ee2f361590b0dc5db8f4fb42a437a07 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 26 May 2020 12:19:58 +0200 >Subject: [PATCH] Bug 25386: Set maxlength=20 for items.barcode > >--- > .../en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml >index 02a7c4b365..53f840e195 100644 >--- a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml >+++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml >@@ -78076,6 +78076,7 @@ tables: > sql_statements: > - "UPDATE marc_subfield_structure SET maxlength=24 WHERE tagfield='000';" > - "UPDATE marc_subfield_structure SET maxlength=40 WHERE tagfield='008';" >+ - "UPDATE marc_subfield_structure SET maxlength=20 WHERE tagfield='952' AND tagsubfield='p';" > > # Create the ACQ framework based on the default framework, fields 952 only > - "INSERT INTO marc_tag_structure(tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25386
: 105352