Koha/installer/data/mysql/it-IT/necessari/class_sources.sql
Katrin Fischer 3e7fc75f50 Bug 22024: Update translated web installer files with new class splitting rules
When adding the new splitting rules for classification sources
with bug 15836, we missed updating the translated installers.

This has the danger of data missing for new installations already
set up with 18.11.

This patch corrects the installer files.

To test:
- Verify the class_sources.sql installs correctly for all languages

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-12-19 16:32:02 +00:00

44 lines
2.3 KiB
SQL

--
-- Default classification sources and filing rules
-- for Koha.
--
-- Copyright (C) 2007 LiblimeA
--
-- 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 2 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, write to the Free Software Foundation, Inc.,
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
SET FOREIGN_KEY_CHECKS=0;
-- class sorting (filing) rules
INSERT INTO `class_sort_rules` (`class_sort_rule`, `description`, `sort_routine`) VALUES
('dewey', 'Regole di default per CDD', 'Dewey'),
('lcc', 'Regole di default per LCC', 'LCC'),
('generic', 'Regole generiche per la collocazione con classificazione', 'Generic');
-- splitting rules
INSERT INTO `class_split_rules` (`class_split_rule`, `description`, `split_routine`) VALUES
('dewey', 'Default splitting rules for DDC', 'Dewey'),
('lcc', 'Default splitting rules for LCC', 'LCC'),
('generic', 'Generic call number splitting rules', 'Generic');
-- classification schemes or sources
INSERT INTO `class_sources` (`cn_source`, `description`, `used`, `class_sort_rule`, `class_split_rule`) VALUES
('ddc', 'Classificazione decimale Dewey', 1, 'dewey', 'dewey'),
('lcc', 'Classificazione della Library of Congress', 1, 'lcc', 'lcc'),
('udc', 'Classificazione Decimale Universale', 0, 'generic', 'generic'),
('sudocs', 'SuDoc Classification (U.S. GPO)', 0, 'generic', 'generic'),
('anscr', 'ANSCR (Sound Recordings)', 0, 'generic', 'generic'),
('z', 'Altro sistema di classificazione', 0, 'generic', 'generic');
SET FOREIGN_KEY_CHECKS=1;