Bug 26268: Correct mapping for internal note to items.itemnotes_nonpublic
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 26 Sep 2020 21:44:02 +0000 (23:44 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2020 08:32:15 +0000 (10:32 +0200)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/pl-PL/marcflavour/marc21/optional/marc21_sample_fastadd_framework.sql
installer/data/mysql/ru-RU/marcflavour/unimarc/mandatory/unimarc_bibliographic_DEFAULT_local_995.sql
installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_bibliographic_DEFAULT_local_952_obsolete.sql
installer/data/mysql/uk-UA/marcflavour/marc21/optional/marc21_bibliographic_FA_local.sql

index 77dde7e..8e984af 100644 (file)
@@ -132,7 +132,7 @@ INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblib
                ('952','u','Uniform Resource Identifier','Uniform Resource Identifier',0,0,'items.uri',10,'','','',NULL,0,'FA','',NULL,NULL),
                ('952','v','Cost, replacement price','Cost, replacement price',0,0,'items.replacementprice',10,'','','',NULL,0,'FA','',NULL,NULL),
                ('952','w','Price effective from','Price effective from',0,0,'items.replacementpricedate',10,'','','',NULL,0,'FA','',NULL,NULL),
-               ('952','x','Nonpublic note (lost item payment)','Nonpublic note (lost item payment)',1,0,'items.paidfor',10,'','','',NULL,0,'FA','',NULL,NULL),
+               ('952','x','Nonpublic note','Nonpublic note',1,0,'items.itemnotes_nonpublic',10,'','','',NULL,0,'FA','',NULL,NULL),
                ('952','y','Koha item type','Koha item type',0,0,'items.itype',10,'itemtypes','','',NULL,0,'FA','',NULL,NULL),
                ('952','z','Public note','Public note',0,0,'items.itemnotes',10,'','','',NULL,0,'FA','',NULL,NULL),
                 ('999', 'c', 'Koha biblionumber', 'Koha biblionumber', 0, 0, 'biblio.biblionumber', -1, NULL, NULL, '', NULL, -5, 'FA', '', '', NULL),
index c6aad46..64516d9 100644 (file)
@@ -406,7 +406,6 @@ INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tag
 # restricted                                   995^3           статус ограничения доступа
 # itemnotes                                            995^u           общедоступное примечание о экземпляре
 # holdingbranch                                995^с          место временного хранения или выдачи (подразделение хранения), код
-# paidfor                                                                      платеж за утраченный экземпляр
 # timestamp                                            995^g           дата последнего редактирования экземпляра
 # location                                             995^e           текущее полочное расположение
 # permanent_location                                           постоянное полочное расположение
index 2086895..659d27a 100644 (file)
@@ -128,7 +128,7 @@ INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tag
  ('', '', '952', 'u', 0, 0, 'Уніфікований ідентифікатор ресурсів', '',  10, 0, 'items.uri', '', '', 1, '', '', NULL),
  ('', '', '952', 'v', 0, 0, 'Стоимость, цена замены', '',               10, 0, 'items.replacementprice', '', '', 0, '', '', NULL),
  ('', '', '952', 'w', 0, 0, 'Дата, для которой действительна цена', '', 10, 0, 'items.replacementpricedate', '', '', 0, '', '', NULL),
- ('', '', '952', 'x', 0, 1, 'Служебное примечание (lost item payment)', '', 10, 7, 'items.paidfor', '', '', NULL, '', '', NULL),
+ ('', '', '952', 'x', 0, 1, 'Служебное примечание', '',                 10, 7, 'items.itemnotes_nonpublic', '', '', NULL, '', '', NULL),
  ('', '', '952', 'y', 0, 0, 'Тип единицы (уровень экземпляра)', '',     10, 0, 'items.itype', 'itemtypes', '', NULL, '', '', NULL),
  ('', '', '952', 'z', 0, 0, 'Общедоступное примечание', '',             10, 0, 'items.itemnotes', '', '', NULL, '', '', NULL);
 
index aad758b..8259608 100644 (file)
@@ -55,7 +55,7 @@ INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tag
  ('FA', '', '952', 'u', 0, 0, 'Уніфікований ідентифікатор ресурсів', '', 10, 0, 'items.uri', '', '', NULL, '', NULL, NULL),
  ('FA', '', '952', 'v', 0, 0, 'Вартість, ціна заміни', '',              10, 0, 'items.replacementprice', '', '', NULL, '', NULL, NULL),
  ('FA', '', '952', 'w', 0, 0, 'Дата, для якої чинна ціна заміни', '',   10, 0, 'items.replacementpricedate', '', '', NULL, '', NULL, NULL),
- ('FA', '', '952', 'x', 0, 1, 'Службова (незагальнодоступна) примітка', '', 10, 0, 'items.paidfor', '', '', NULL, '', NULL, NULL),
+ ('FA', '', '952', 'x', 0, 1, 'Службова (незагальнодоступна) примітка', '', 10, 0, 'items.itemnotes_nonpublic', '', '', NULL, '', NULL, NULL),
  ('FA', '', '952', 'y', 0, 0, 'Тип одиниці (рівень примірника)', '',    10, 0, 'items.itype', 'itemtypes', '', NULL, '', NULL, NULL),
  ('FA', '', '952', 'z', 0, 0, 'Загальнодоступна примітка щодо примірника', '', 10, 0, 'items.itemnotes', '', '', NULL, '', NULL, NULL);