Koha/installer/data/mysql/nb-NO/2-Valgfritt/sample_libraries_holidays.sql
Jonathan Druart 2dbce72a07
Bug 24289: Make sure sample_holidays will load after sample_libraries
They are inserted depending on their alpha order, and sample_holidays
will fail because of missing branchcode.
This patch suggests a simple fix: rename sample_holidays to
sample_libraries_holidays, to make sure it will be loaded after
sample_libraries

Test plan:
Start a fresh installation and select all sample data

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-20 14:03:51 +00:00

28 lines
1.1 KiB
SQL

--
-- Default classification sources and filing rules
-- for Koha.
--
-- Copyright (C) 2011 Magnus Enger Libriotech
--
-- 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.
INSERT INTO `repeatable_holidays` VALUES
(2,'',0,NULL,NULL,'','Søndager'),
(3,'',NULL,1,1,'','1. nyttårsdag'),
(4,'',NULL,1,5,'','1. mai'),
(5,'',NULL,17,5,'','17. mai'),
(6,'',NULL,25,12,'','1. juledag'),
(7,'',NULL,26,12,'','2. juledag');