Bugzilla – Attachment 167139 Details for
Bug 36952
Add 370 to authority index (MARC21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36952: Add 370 to authority index (MARC21)
Bug-36952-Add-370-to-authority-index-MARC21.patch (text/plain), 1.55 KB, created by
David Nind
on 2024-05-23 21:35:48 UTC
(
hide
)
Description:
Bug 36952: Add 370 to authority index (MARC21)
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-23 21:35:48 UTC
Size:
1.55 KB
patch
obsolete
>From 11afedc08ba3a2de1dab2ed828a7216df675bd0b Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Thu, 23 May 2024 15:35:04 -0400 >Subject: [PATCH] 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> >--- > admin/searchengine/elasticsearch/mappings.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 929f2f9410..37582fe315 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -788,6 +788,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: ~ >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36952
:
167129
|
167133
| 167139