3 # Copyright 2020 Koha Development Team
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
21 # *************************************************************
22 # FASTADD KOHA UNIMARC BIBLIOGRAPHIC FRAMEWORK
23 # *************************************************************
26 - "'FA', a 'Fast Add' minimal UNIMARC framework suitable for ILL or on-the-fly cataloguing."
30 translatable: [ frameworktext ]
34 frameworktext: "Fast Add Framework"
37 - "INSERT IGNORE INTO marc_tag_structure (tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode)
38 SELECT tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, 'FA'
39 FROM marc_tag_structure
40 WHERE frameworkcode = '' AND
41 tagfield IN ('000', '001', '090', '099', '100', '200', '205', '210', '225', '995');"
44 - "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)
45 SELECT tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, 'FA', seealso, link, defaultvalue
46 FROM marc_subfield_structure
47 WHERE frameworkcode = '' AND
48 tagfield IN ('000', '001', '090', '099', '100', '200', '205', '210', '225', '995');"