Owen Leonard
701055f889
This follow-up makes two additions: - The UPLOAD category is added to auth_val_cat.sql for new installations. - A description of the category is added to the authorized values template. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
72 lines
1.8 KiB
SQL
72 lines
1.8 KiB
SQL
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
|
|
VALUES
|
|
('', 1),
|
|
('Asort1', 1),
|
|
('Asort2', 1),
|
|
('Bsort1', 1),
|
|
('Bsort2', 1),
|
|
('SUGGEST', 0),
|
|
('SUGGEST_STATUS', 0),
|
|
('SUGGEST_FORMAT', 0),
|
|
('DAMAGED', 1),
|
|
('LOST', 1),
|
|
('REPORT_GROUP', 0),
|
|
('REPORT_SUBGROUP', 0),
|
|
('DEPARTMENT', 0),
|
|
('TERM', 0),
|
|
('ITEMTYPECAT', 0),
|
|
('PAYMENT_TYPE', 0),
|
|
('PA_CLASS', 0),
|
|
('HOLD_CANCELLATION', 0),
|
|
('ROADTYPE', 0);
|
|
|
|
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
|
|
VALUES
|
|
('branches', 1),
|
|
('itemtypes', 1),
|
|
('cn_source', 1);
|
|
|
|
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
|
|
VALUES
|
|
('WITHDRAWN', 1),
|
|
('RESTRICTED', 0),
|
|
('NOT_LOAN', 1),
|
|
('CCODE', 1),
|
|
('LOC', 1),
|
|
('BOR_NOTES', 1),
|
|
('OPAC_SUG', 0),
|
|
('SIP_MEDIA_TYPE', 0),
|
|
('ORDER_CANCELLATION_REASON', 0),
|
|
('RELTERMS', 0),
|
|
('YES_NO', 0),
|
|
('LANG', 0),
|
|
('HINGS_UT', 0),
|
|
('HINGS_PF', 0),
|
|
('HINGS_C', 0),
|
|
('HINGS_AS', 0),
|
|
('HINGS_RD', 0),
|
|
('STACK', 0),
|
|
('CONTROL_NUM_SEQUENCE' ,0);
|
|
|
|
-- UNIMARC specific?
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('ETAT'),
|
|
('CAND'),
|
|
('COUNTRY'),
|
|
('qualif');
|
|
|
|
-- For Housebound
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('HSBND_FREQ');
|
|
|
|
-- For Interlibrary loans
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('ILLSTATUS');
|
|
|
|
-- For Claims returned
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('RETURN_CLAIM_RESOLUTION');
|
|
|
|
-- For file uploads
|
|
INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES
|
|
('UPLOAD', 1);
|