Bugzilla – Attachment 166445 Details for
Bug 36723
Add musical presentation to Elasticsearch index mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 36723: Add musical presentation to Elasticsearch index mappings
bug-36723-Add-musical-presentation-to-Elasticsearc.patch (text/plain), 1.81 KB, created by
Danyon Sewell
on 2024-05-09 04:04:49 UTC
(
hide
)
Description:
bug 36723: Add musical presentation to Elasticsearch index mappings
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-05-09 04:04:49 UTC
Size:
1.81 KB
patch
obsolete
>From c0b9d62b4d48687703acd4bba1df66ff7218e463 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Wed, 1 May 2024 03:41:13 +0000 >Subject: [PATCH] bug 36723: Add musical presentation to Elasticsearch index > mappings > >Have written a patch to allow Musical Presentation to be a search option within Elasticsearch index mappings > >Test plan: > >1. Apply this patch > >2. Ensure MARC index 254 (Musical Presentation) is visible to edit on the default MARC bibliographic framework > Koha Administration > MARC Bibliographic framework > Actions (under default framework) > MARC structure > Search 254 and actions->edit subfield > tick box for visibility should have OPAC, Staff Interface and Editor ticked. > >3. Edit a record using the default MARC bibliographic framework and put a search term under index 254 and save. > >4. Head back to the home page and go to Advanced Search > >5. under the Search for dropdown select Musical presentation and in the search field enter the search term you used in step 3. > >Your results should appear > >Sponsored-by: Education Services Australia SCIS >--- > 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 2713de1dd1..5cdd3abf59 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2709,6 +2709,18 @@ biblios: > opac: 1 > staff_client: 1 > type: '' >+ musical-presentation: >+ label: musical-presentation >+ mandatory: ~ >+ mappings: >+ - facet: '' >+ marc_field: '254' >+ marc_type: marc21 >+ sort: 1 >+ suggestible: '' >+ opac: 1 >+ staff_client: 1 >+ type: '' > nal-call-number: > label: nal-call-number > 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 36723
:
165938
|
165940
|
165941
|
166091
|
166093
|
166445
|
166446
|
166484
|
166485
|
166486
|
166487