Bugzilla – Attachment 132280 Details for
Bug 30373
Rewrite UNIMARC installer data to YAML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30373: Add UNIMARC FA (fast add) framework
0002-Bug-30373-Add-UNIMARC-FA-fast-add-framework.patch (text/plain), 3.12 KB, created by
Bernardo Gonzalez Kriegel
on 2022-03-28 05:08:06 UTC
(
hide
)
Description:
Bug 30373: Add UNIMARC FA (fast add) framework
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2022-03-28 05:08:06 UTC
Size:
3.12 KB
patch
obsolete
>From d6f89862d6e06eec50016623d3d86807c2450275 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Mon, 28 Mar 2022 01:27:11 -0300 >Subject: [PATCH 2/4] Bug 30373: Add UNIMARC FA (fast add) framework > >This parch creates optional folder and a sample >fast add framework > >To test: >0. On top of first patch, repeat procedure to do an UNIMARC install >1. Verify existence of FA framework >--- > .../unimarc_sample_fastadd_framework.yml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 installer/data/mysql/en/marcflavour/unimarc/optional/unimarc_sample_fastadd_framework.yml > >diff --git a/installer/data/mysql/en/marcflavour/unimarc/optional/unimarc_sample_fastadd_framework.yml b/installer/data/mysql/en/marcflavour/unimarc/optional/unimarc_sample_fastadd_framework.yml >new file mode 100644 >index 0000000000..0653a51e76 >--- /dev/null >+++ b/installer/data/mysql/en/marcflavour/unimarc/optional/unimarc_sample_fastadd_framework.yml >@@ -0,0 +1,48 @@ >+--- >+# >+# Copyright 2020 Koha Development Team >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+# >+# ************************************************************* >+# FASTADD KOHA UNIMARC BIBLIOGRAPHIC FRAMEWORK >+# ************************************************************* >+ >+description: >+ - "'FA', a 'Fast Add' minimal UNIMARC framework suitable for ILL or on-the-fly cataloguing." >+ >+tables: >+ - biblio_framework: >+ translatable: [ frameworktext ] >+ multiline: [] >+ rows: >+ - frameworkcode: FA >+ frameworktext: "Fast Add Framework" >+ >+sql_statements: >+ - "INSERT IGNORE INTO marc_tag_structure (tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) >+ SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'FA' >+ FROM marc_tag_structure >+ WHERE frameworkcode = '' AND >+ tagfield IN ('000', '001', '090', '099', '100', '200', '205', '210', '225', '995');" >+ >+ >+ - "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, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'FA', seealso, link, defaultvalue >+ FROM marc_subfield_structure >+ WHERE frameworkcode = '' AND >+ tagfield IN ('000', '001', '090', '099', '100', '200', '205', '210', '225', '995');" >-- >2.25.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 30373
:
132279
| 132280 |
132281
|
132282
|
132874
|
133059
|
133060
|
133126
|
133127
|
133630
|
133658
|
133704
|
133705
|
133706
|
133707
|
133723
|
133724