3ef8caad3607ad66833f242db4e539dc21335884
[srvgit] / installer / data / mysql / en / mandatory / class_sources.sql
1 -- 
2 -- Default classification sources and filing rules
3 -- for Koha.
4 --
5 -- Copyright (C) 2007 LiblimeA
6 -- Copyright 2018 Koha Development Team
7 --
8 -- This file is part of Koha.
9 --
10 -- Koha is free software; you can redistribute it and/or modify it under the
11 -- terms of the GNU General Public License as published by the Free Software
12 -- Foundation; either version 2 of the License, or (at your option) any later
13 -- version.
14 -- 
15 -- Koha is distributed in the hope that it will be useful, but WITHOUT ANY
16 -- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
17 -- A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
18 -- 
19 -- You should have received a copy of the GNU General Public License along
20 -- with Koha; if not, write to the Free Software Foundation, Inc.,
21 -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23 -- class sorting (filing) rules
24 INSERT INTO `class_sort_rules` (`class_sort_rule`, `description`, `sort_routine`) VALUES
25                                ('dewey', 'Default filing rules for DDC', 'Dewey'),
26                                ('lcc', 'Default filing rules for LCC', 'LCC'),
27                                ('generic', 'Generic call number filing rules', 'Generic');
28 -- splitting rules
29 INSERT INTO `class_split_rules` (`class_split_rule`, `description`, `split_routine`) VALUES
30                                ('dewey', 'Default splitting rules for DDC', 'Dewey'),
31                                ('lcc', 'Default splitting rules for LCC', 'LCC'),
32                                ('generic', 'Generic call number splitting rules', 'Generic');
33
34 -- classification schemes or sources
35 INSERT INTO `class_sources` (`cn_source`, `description`, `used`, `class_sort_rule`, `class_split_rule`) VALUES
36                             ('ddc', 'Dewey Decimal Classification', 1, 'dewey', 'dewey'),
37                             ('lcc', 'Library of Congress Classification', 1, 'lcc', 'lcc'),
38                             ('udc', 'Universal Decimal Classification', 0, 'generic', 'generic'),
39                             ('sudocs', 'SuDoc Classification (U.S. GPO)', 0, 'generic', 'generic'),
40                             ('anscr', 'ANSCR (Sound Recordings)', 0, 'generic', 'generic'),
41                             ('z', 'Other/Generic Classification Scheme', 0, 'generic', 'generic');