Bug 28380: Elasticsearch - correct 024aa in mappings (MARC21)
authorCaroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Tue, 18 May 2021 20:40:50 +0000 (16:40 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Aug 2021 07:56:43 +0000 (09:56 +0200)
This patch corrects a typo in the mappings.yaml file

To test:
1) Apply patch
2) Reindex using rebuild_elasticsearch.pl -r

If you don't have access to a terminal (in a sandbox for example)
2a) Go to Administration > Search engine configuration, click "Reset mappings"
and confirm
2b) Then reindex

3) Search for a standard number found in 024$a using the Standard number index
in the advanced search

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/searchengine/elasticsearch/mappings.yaml

index fc6362c..1e0fa8a 100644 (file)
@@ -2039,7 +2039,7 @@ biblios:
     label: identifier-other
     mappings:
       - facet: ''
-        marc_field: 024aa
+        marc_field: 024a
         marc_type: marc21
         sort: ~
         suggestible: ''