Bugzilla – Attachment 194891 Details for
Bug 42016
Add identifier-other search field for authorities (MARC 21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 42016: Add identifier-other search field for authorities (MARC 21)
Bug-42016-Add-identifier-other-search-field-for-au.patch (text/plain), 1.76 KB, created by
Janusz Kaczmarek
on 2026-03-06 18:40:35 UTC
(
hide
)
Description:
Bug 42016: Add identifier-other search field for authorities (MARC 21)
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2026-03-06 18:40:35 UTC
Size:
1.76 KB
patch
obsolete
>From 1afc3c9ab94d94907df6a135ab3ea50e2b24f9f4 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Fri, 6 Mar 2026 18:37:27 +0000 >Subject: [PATCH] Bug 42016: Add identifier-other search field for authorities > (MARC 21) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >MARC 21 authority records often have 024 $a (Other Standard >Identifier) - https://www.loc.gov/marc/authority/ad024.html, >but the field 024 is missing from ES search fields and the record >cannot be found with these identifiers. > >Test plan >========= >1. Have a ktd instance with Elasticsearch. >2. Add a 024 field to an authority record, i.e. for Alatriste, Gustavo: > 024 7# $a 86971927 $7 viaf >3. In Authorities, make an 'Entire record' search for the added > identifier. You should get no results. >4. Apply the patch, reindex with: > sudo koha-elasticsearch --rebuild -r -d -a kohadev >5. Repeat p. 3. You should now be able to find the record. > >Sponsored-by: Pontificia Università di San Tommaso d'Aquino (Angelicum) >--- > 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 f8f8d4ec76..4b7364479b 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -943,6 +943,18 @@ authorities: > opac: 1 > staff_client: 1 > type: '' >+ identifier-other: >+ label: identifier-other >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: 024a >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: '' > lc-card-number: > label: lc-card-number > mandatory: ~ >-- >2.39.5
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 42016
:
194891
|
194928