Bugzilla – Attachment 44147 Details for
Bug 15077
Fix Fast Add framework to pass test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15077: Fix Fast Add framework to pass test
Bug-15077-Fix-Fast-Add-framework-to-pass-test.patch (text/plain), 2.79 KB, created by
Bernardo Gonzalez Kriegel
on 2015-10-29 11:51:15 UTC
(
hide
)
Description:
Bug 15077: Fix Fast Add framework to pass test
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-10-29 11:51:15 UTC
Size:
2.79 KB
patch
obsolete
>From 89021ded681473833d14d59f5717846817fb9ea4 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Thu, 29 Oct 2015 08:44:54 -0300 >Subject: [PATCH] Bug 15077: Fix Fast Add framework to pass test > >This patch fixes tab location for FA frameworks. >Not all subfields belongs to tab 0. > >To test: >1) On current master, with default and fasadd fw loaded, >go to Home > Administration > MARC bibliographic framework test >it fails > >2) Apply the patch >3) Delete all fw, reload all, or just default (bib & auth) and >fast add >4) Repeat 1, now test must pass > >This is only on master, so no need to database update. >--- > .../mysql/en/marcflavour/marc21/optional/marc21_fastadd_framework.sql | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/en/marcflavour/marc21/optional/marc21_fastadd_framework.sql b/installer/data/mysql/en/marcflavour/marc21/optional/marc21_fastadd_framework.sql >index 6cc7621..508f376 100644 >--- a/installer/data/mysql/en/marcflavour/marc21/optional/marc21_fastadd_framework.sql >+++ b/installer/data/mysql/en/marcflavour/marc21/optional/marc21_fastadd_framework.sql >@@ -7,7 +7,7 @@ WHERE frameworkcode = '' AND > tagfield IN ('000', '008', '010', '020', '022', '050', '082', '090', '099', '100', '245', '250', '260', '300', '500', '942', '952', '999'); > > INSERT IGNORE INTO marc_subfield_structure (tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkcode, seealso, link, defaultvalue) >-SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, 0, authorised_value, authtypecode, value_builder, isurl, hidden, 'FA', seealso, link, defaultvalue >+SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'FA', seealso, link, defaultvalue > FROM marc_subfield_structure > WHERE frameworkcode = '' AND > tagfield IN ('000', '008', '010', '020', '022', '050', '082', '090', '099', '100', '245', '250', '260', '300', '500', '942', '952', '999'); >@@ -16,6 +16,7 @@ tagfield IN ('000', '008', '010', '020', '022', '050', '082', '090', '099', '100 > -- REVERT HIDDEN FIELD TO ORIGINAL (pre copy ) VALUES > -- ************************************************** > >+UPDATE marc_subfield_structure SET tab = 0 WHERE tagfield IN ('100','245','250','260','300','500','942') AND frameworkcode = 'FA'; > UPDATE marc_subfield_structure SET hidden ='0' WHERE tagfield = '010' AND tagsubfield = '8' AND frameworkcode = 'FA'; > UPDATE marc_subfield_structure SET hidden ='0' WHERE tagfield = '010' AND tagsubfield = 'b' AND frameworkcode = 'FA'; > UPDATE marc_subfield_structure SET hidden ='0' WHERE tagfield = '010' AND tagsubfield = 'z' AND frameworkcode = 'FA'; >-- >1.9.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 15077
:
44147
|
44176
|
44186