Bug 36952: Add 370 to authority index (MARC21)

This enhancement adds field 370 to MARC21 default authority
index mappings.

To test:
1. Import the attached .mrc file
2. Go to Authorities
3. Search 'Main heading' for quebec
   --> 1 result (normal)
4. Search 'Entire record' for quebec
   --> 1 result
5. Go to the OPAC > Authority search
6. Redo steps 3 and 4
   --> Same results
7. Apply patch
8. Reindex authorities (in KTD shell:
   koha-elasticsearch --rebuild -a -v -r kohadev)
9. Redo step 3
   --> Still 1 result (normal)
10. Redo step 4
    --> 2 results
11. Redo step 5-6
    --> Same results as steps 9-10

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Caroline Cyr La Rose 2024-05-23 15:35:04 -04:00 committed by Katrin Fischer
parent 477b93e3ff
commit fb918a53fe
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -800,6 +800,18 @@ authorities:
opac: 1
staff_client: 1
type: ''
Place:
label: Place
mandatory: ~
mappings:
- facet: ''
marc_field: 370(abcefg)
marc_type: marc21
sort: 1
suggestible: ''
opac: 1
staff_client: 1
type: ''
See-also-from:
label: See-also-from
mandatory: ~