Koha/installer/data/mysql/fr-FR/1-Obligatoire/sample_numberpatterns.sql
Jonathan Druart 3c2e45a058 Bug 11261: make sample serial numbering patterns mandatory during installation
Test plan:
Verify all sample_numberpatterns.* files have been moved from optional
to mandatory directories.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All sample files for numbering patterns are moved from optional
to mandatory.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-13 18:33:57 +00:00

25 lines
987 B
SQL

INSERT INTO subscription_numberpatterns
(label, displayorder, description, numberingmethod,
label1, add1, every1, whenmorethan1, setto1, numbering1,
label2, add2, every2, whenmorethan2, setto2, numbering2,
label3, add3, every3, whenmorethan3, setto3, numbering3)
VALUES
('Number', 1, 'Simple Numbering method', 'No.{X}',
'Number', 1, 1, 99999, 1, NULL,
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL),
('Volume, Number, Issue', 2, 'Volume Number Issue 1', 'Vol.{X}, Number {Y}, Issue {Z}',
'Volume', 1, 48, 99999, 1, NULL,
'Number', 1, 4, 12, 1, NULL,
'Issue', 1, 1, 4, 1, NULL),
('Volume, Number', 3, 'Volume Number 1', 'Vol {X}, No {Y}',
'Volume', 1, 12, 99999, 1, NULL,
'Number', 1, 1, 12, 1, NULL,
NULL, NULL, NULL, NULL, NULL, NULL),
('Seasonal', 4, 'Season Year', '{X} {Y}',
'Season', 1, 1, 3, 0, 'season',
'Year', 1, 4, 99999, 1, NULL,
NULL, NULL, NULL, NULL, NULL, NULL);