|
Lines 1-41
Link Here
|
| 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 |
| 11 |
-- under the terms of the GNU General Public License as published by |
| 12 |
-- the Free Software Foundation; either version 3 of the License, or |
| 13 |
-- (at your option) any later version. |
| 14 |
-- |
| 15 |
-- Koha is distributed in the hope that it will be useful, but |
| 16 |
-- WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 |
-- GNU General Public License for more details. |
| 19 |
-- |
| 20 |
-- You should have received a copy of the GNU General Public License |
| 21 |
-- along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 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'); |