Skip to content

Commit

Permalink
LLK #15659465 adds I_SUPPRESS auth val and 952 subfields
Browse files Browse the repository at this point in the history
  • Loading branch information
hgq committed Jan 13, 2012
1 parent e257a1d commit 9a30f87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions installer/data/mysql/en/mandatory/auth_val.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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','');");
Original file line number Diff line number Diff line change
Expand Up @@ -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,'');

-- ******************************************************

Expand Down

0 comments on commit 9a30f87

Please sign in to comment.