From 663f937d8598784bde3ebf3e94e2a9e8d11d99eb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 30 Aug 2021 12:28:39 +0000 Subject: [PATCH] Bug 28337: Use existing definition in ccl.properties and bib1.att As the field is already dfined, we don't need to add anything here. Bib1.att can use the existing number as well To test, enable zebra debugging in koha-conf, adding 'request' to the list: none,fatal,warn,request Restart all the things Repeat matching (redo matching with no rule, then with OCN rule) Tail the zebra-output.log and note 1=Ohter-control-number is searched and match is found Perform a search in the staff client for: other-control-number:expialodocious Note in logs that 1=1211 is searched Previous test plan did not mention copying ccl.properties and bib1.att to the package install, so highlighted that things work without these changes Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- etc/zebradb/authorities/etc/bib1.att | 2 +- etc/zebradb/ccl.properties | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/zebradb/authorities/etc/bib1.att b/etc/zebradb/authorities/etc/bib1.att index e5ddd9627c..f4c080a1fe 100644 --- a/etc/zebradb/authorities/etc/bib1.att +++ b/etc/zebradb/authorities/etc/bib1.att @@ -14,7 +14,7 @@ att 9043 Kind-of-record att 9046 Record-status att 9050 Subject-heading-thesaurus att 9051 Previous-heading-see-from -att 9052 Other-control-number +att 1211 Other-control-number # Personal Name att 1 Personal-name diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 842e1abae0..53f042c184 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -888,7 +888,6 @@ Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry Heading-use-series-added-entry 1=Heading-use-series-added-entry Heading-use-subject-added-entry 1=Heading-use-subject-added-entry Subject-heading-thesaurus 1=Subject-heading-thesaurus -Other-control-number 1=Other-control-number ################################################### ### 2. BIB1 RELATION ATTRIBUTES