From aac8dd048d6630b2e35c951812aebfd7be5ffee7 Mon Sep 17 00:00:00 2001 From: kados Date: Thu, 14 Sep 2006 08:23:21 +0000 Subject: [PATCH] adding plugin for dateaccessioned --- misc/marc21_simple_bib_frameworks.sql | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/misc/marc21_simple_bib_frameworks.sql b/misc/marc21_simple_bib_frameworks.sql index 1e70897f0e..f98b348378 100644 --- a/misc/marc21_simple_bib_frameworks.sql +++ b/misc/marc21_simple_bib_frameworks.sql @@ -336,7 +336,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, '', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, '', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, '', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, '', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, '', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, '', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, '', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, '', '', ''); @@ -4507,7 +4507,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'BKS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'BKS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'BKS', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'BKS', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'BKS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'BKS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'BKS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'BKS', '', ''); @@ -8677,7 +8677,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'CF', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'CF', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'CF', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'CF', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'CF', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'CF', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'CF', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'CF', '', ''); @@ -12847,7 +12847,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'SREC', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'SREC', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'SREC', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'SREC', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'SREC', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'SREC', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'SREC', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'SREC', '', ''); @@ -17017,7 +17017,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'VID', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'VID', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'VID', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'VID', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'VID', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'VID', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'VID', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'VID', '', ''); @@ -21186,7 +21186,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'ART', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'ART', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'ART', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'ART', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'ART', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'ART', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'ART', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'ART', '', ''); @@ -25356,7 +25356,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'KITS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'KITS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'KITS', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'KITS', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'KITS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'KITS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'KITS', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'KITS', '', ''); @@ -29526,7 +29526,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'RES', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'RES', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'RES', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'RES', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'RES', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'RES', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'RES', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'RES', '', ''); @@ -33695,7 +33695,7 @@ INSERT INTO `marc_subfield_structure` VALUES ('952', 'r', 'Cost, replacement pri INSERT INTO `marc_subfield_structure` VALUES ('952', 's', 'Copyright article-fee code', 'Copyright article-fee code', 1, 0, '', 10, '', '', '', NULL, 0, 'SER', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 't', 'Copy number', 'Copy number', 0, 0, '', 10, '', '', '', NULL, 0, 'SER', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'u', 'Koha itemnumber (autogenerated)', 'Koha itemnumber', 0, 0, 'items.itemnumber', -1, '', '', '', 0, -5, 'SER', '', ''); -INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, '', '', '', 0, 0, 'SER', '', ''); +INSERT INTO `marc_subfield_structure` VALUES ('952', 'v', 'Date acquired', 'Date acquired', 0, 0, 'items.dateaccessioned', 10, 'usmarc_field_952v.pl', '', '', 0, 0, 'SER', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'w', 'Price effective from', 'Price effective from', 0, 0, 'items.replacementpricedate', 10, '', '', '', 0, 0, 'SER', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'x', 'Nonpublic note', 'Nonpublic note', 1, 0, '', 10, '', '', '', NULL, 6, 'SER', '', ''); INSERT INTO `marc_subfield_structure` VALUES ('952', 'y', 'Use restrictions (not for loan)', 'Use restrictions (not for loan)', 0, 0, 'items.notforloan', 10, '', '', '', 0, 0, 'SER', '', '');