my $lang = C4::Context->preference('DefaultLanguageField008' );
$lang = "eng" unless $lang;
$lang = pack("A3", $lang);
+ my $country = C4::Context->preference('DefaultCountryField008') // "xxu";
+ $country = pack("A3", $country);
my $function_name = $params->{id};
my $dateentered = date_entered();
if ( document.getElementById(event.data.id).value ) {
}
else {
- document.getElementById(event.data.id).value='$dateentered' + 'b xxu||||| |||| 00| 0 $lang d';
+ document.getElementById(event.data.id).value='$dateentered' + 'b $country||||| |||| 00| 0 $lang d';
}
return 1;
}
my $lang = C4::Context->preference('DefaultLanguageField008' );
$lang = "eng" unless $lang;
$lang = pack("A3", $lang);
+ my $country = C4::Context->preference('DefaultCountryField008') // "xxu";
+ $country = pack("A3", $country);
my $index = $input->param('index');
my $result = $input->param('result');
);
my $dateentered = date_entered();
- $result = "$dateentered" . "b xxu||||| |||| 00| 0 $lang d" unless $result;
+ $result = "$dateentered" . "b $country||||| |||| 00| 0 $lang d" unless $result;
my $errorXml = '';
# Check if the xml, xsd exists and is validated
my $dir = C4::Context->config('intrahtdocs') . '/prog/' . $template->{lang} . '/data/';
('decreaseLoanHighHoldsIgnoreStatuses', '', 'damaged|itemlost|notforloan|withdrawn', "Ignore items with these statuses for dynamic high holds checking", 'Choice'),
('decreaseLoanHighHoldsValue',NULL,'','Specifies a threshold for the minimum number of holds needed to trigger a reduction in loan duration (used with decreaseLoanHighHolds)','Integer'),
('DefaultClassificationSource','ddc',NULL,'Default classification scheme used by the collection. E.g., Dewey, LCC, etc.','ClassSources'),
+('DefaultCountryField008','','','Fill in the default country code for field 008 Range 15-17 - Place of publication, production, or execution. See <a href=\"http://www.loc.gov/marc/countries/countries_code.html\">MARC Code List for Countries</a>','Free'),
('DefaultLanguageField008','','','Fill in the default language for field 008 Range 35-37 of MARC21 records (e.g. eng, nor, ger, see <a href=\"http://www.loc.gov/marc/languages/language_code.html\">MARC Code List for Languages</a>)','Free'),
('DefaultLongOverdueChargeValue', '', NULL, "Charge a lost item to the borrower's account when the LOST value of the item changes to n.", 'integer'),
('DefaultLongOverdueDays', '', NULL, "Set the LOST value of an item when the item has been overdue for more than n days.", 'integer'),
- pref: DefaultLanguageField008
- " Empty defaults to eng."
-
+ - Fill in the default country code for field 008 Range 15-17 - Place of publication, production, or execution. See <a href"http://www.loc.gov/marc/countries/countries_code.html\">MARC Code List for Countries</a>
+ - pref: DefaultCountryField008
+ - " Empty defaults to xxu for United States."
+ -
- Interpret and store MARC records in the
- pref: marcflavour
choices: