Browse files

LLK #15659465 adds I_SUPPRESS auth val and 952 subfields

  • Loading branch information...
1 parent 683a373 commit d02b78605f90de0e87f042eec0c7602f500b39f0 @hgq hgq committed Jan 13, 2012
View
3 installer/data/mysql/en/mandatory/auth_val.sql
@@ -15,3 +15,6 @@ INSERT INTO `authorised_values` (`category`,`authorised_value`,`prefix`,`lib`,`i
('ETYPE','m',NULL,'Combination',NULL,NULL),
('ETYPE','u',NULL,'Unknown',NULL,NULL),
('ETYPE','z',NULL,'Other',NULL,NULL);
+INSERT into authorised_values (category,authorised_value, lib, imageurl) VALUES
+ ('I_SUPPRESS',0,'Do not Suppress',''),
+ ('I_SUPPRESS',1,'Suppress','');");
View
11 installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql
@@ -87,6 +87,17 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
('942', 't', 'On Order Count', 'On Order Count', 0, 0, 'biblioitems.on_order_count', 9, '', '', '', NULL, 0, '', '', '', NULL),
('942', 'u', 'In Processing Count', 'In Processing Count', 0, 0, 'biblioitems.in_process_count', 9, '', '', '', NULL, 0, '', '', '', NULL),
('942', 's', 'Serial record flag', 'Serial record', 0, 0, 'biblio.serial', 9, '', '', '', NULL, -5, '', '', '', NULL);
+INSERT INTO marc_subfield_structure
+ (tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkc
+ode, seealso, link, defaultvalue)
+ VALUES ('952', 'i', 'Supressed','',0,0,'items.suppress',10,'I_SUPPRESS','','',0,0,'',NULL,'','');
+ INSERT INTO marc_subfield_structure
+ (tagfield, tagsubfield, liblibrarian, libopac, repeatable, mandatory, kohafield, tab, authorised_value, authtypecode, value_builder, isurl, hidden, frameworkc
+ode, seealso, link, defaultvalue)
+ VALUES ('952', 'k', 'Other item status', 'Other item status', 0, 0, 'items.otherstatus', 10, 'otherstatus', '', '', 0, 0, '', NULL, '', '');
+
+ INSERT INTO marc_subfield_structure (tagfield,tagsubfield,liblibrarian,libopac,repeatable,mandatory,kohafield,tab,authorised_value,isurl,hidden,frameworkcode)
+ VALUES ('952','C','Permanent shelving location','Permanent shelving location',0,0,'items.permanent_location',10,'LOC',0,0,'');
-- ******************************************************

0 comments on commit d02b786

Please sign in to comment.