View | Details | Raw Unified | Return to bug 11674
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 199-207 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
199
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
199
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
200
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
200
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
201
('MARCAuthorityControlField008','|| aca||aabn           | a|a     d',NULL,'Define the contents of MARC21 authority control field 008 position 06-39','Textarea'),
201
('MARCAuthorityControlField008','|| aca||aabn           | a|a     d',NULL,'Define the contents of MARC21 authority control field 008 position 06-39','Textarea'),
202
('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. "MARC21" or "UNIMARC". {FIELD} = field number, eg. "000" or "048". {LANG} = user language, eg. "en" or "fi-FI"', 'free'),
202
('MarcFieldsToOrder','',NULL,'Set the mapping values for a new order line created from a MARC record in a staged file. In a YAML format.','textarea'),
203
('MarcFieldsToOrder','',NULL,'Set the mapping values for a new order line created from a MARC record in a staged file. In a YAML format.','textarea'),
203
('MARCOrgCode','OSt','','Define MARC Organization Code for MARC21 records - http://www.loc.gov/marc/organizations/orgshome.html','free'),
204
('MARCOrgCode','OSt','','Define MARC Organization Code for MARC21 records - http://www.loc.gov/marc/organizations/orgshome.html','free'),
204
('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. "MARC21" or "UNIMARC". {FIELD} = field number, eg. "000" or "048". {LANG} = user language, eg. "en" or "fi-FI"', 'free'),
205
('MaxFine',NULL,'','Maximum fine a patron can have for all late returns at one moment. Single item caps are specified in the circulation rules matrix.','Integer'),
205
('MaxFine',NULL,'','Maximum fine a patron can have for all late returns at one moment. Single item caps are specified in the circulation rules matrix.','Integer'),
206
('MaxItemsForBatch','1000',NULL,'Max number of items record to process in a batch (modification or deletion)','Integer'),
206
('MaxItemsForBatch','1000',NULL,'Max number of items record to process in a batch (modification or deletion)','Integer'),
207
('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'),
207
('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 10663-10669 foreach my $file ( sort readdir $dirh ) { Link Here
10663
$DBversion = "3.21.00.XXX";
10663
$DBversion = "3.21.00.XXX";
10664
if ( CheckVersion($DBversion) ) {
10664
if ( CheckVersion($DBversion) ) {
10665
   $dbh->do("
10665
   $dbh->do("
10666
       INSERT INTO systempreferences (variable,value,options,explanation,type)
10666
       INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
10667
       VALUES ('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. \"MARC21\" or \"UNIMARC\". {FIELD} = field number, eg. \"000\" or \"048\". {LANG} = user language, eg. \"en\" or \"fi-FI\"', 'free');
10667
       VALUES ('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. \"MARC21\" or \"UNIMARC\". {FIELD} = field number, eg. \"000\" or \"048\". {LANG} = user language, eg. \"en\" or \"fi-FI\"', 'free');
10668
    ");
10668
    ");
10669
   print "Upgrade to $DBversion done (Bug 11674: Configuration for MARC field doc URLs)\n";
10669
   print "Upgrade to $DBversion done (Bug 11674: Configuration for MARC field doc URLs)\n";
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 140-146 function PopupZ3950() { Link Here
140
}
140
}
141
141
142
function PopupMARCFieldDoc(field) {
142
function PopupMARCFieldDoc(field) {
143
    [% IF (marcfielddocurl) %]
143
    [% IF Koha.Preference( 'marcfielddocurl' ) %]
144
        var docurl = "[% marcfielddocurl.replace('"','"') %]";
144
        var docurl = "[% marcfielddocurl.replace('"','"') %]";
145
        docurl = docurl.replace("{MARC}", "[% marcflavour %]");
145
        docurl = docurl.replace("{MARC}", "[% marcflavour %]");
146
        docurl = docurl.replace("{FIELD}", ""+field);
146
        docurl = docurl.replace("{FIELD}", ""+field);
147
- 

Return to bug 11674