Bugzilla – Attachment 165938 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-01 03:47:01 UTC
(
hide
)
Description:
bug 36723: Add musical presentation to Elasticsearch index mappings
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-05-01 03:47:01 UTC
Size:
1.81 KB
patch
obsolete
>From dc890b258ff834a90e4250207411483ca07f1348 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 > >--- > admin/searchengine/elasticsearch/mappings.yaml | 12 ++++++++++++ > .../prog/en/includes/search_indexes.inc | 5 +++++ > 2 files changed, 17 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 16aaabfdbb..2713de1dd1 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2697,6 +2697,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: ~ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >index f668fdcc9b..b36f7c22b6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >@@ -169,6 +169,11 @@ > [% ELSE %] > <option value="pl">Publisher location</option> > [% END %] >+ [% IF ms_musicaldashpresentation %] >+ <option selected="selected" value="musical-presentation">Musical Presentation</option> >+ [% ELSE %] >+ <option value="musical-presentation">Musical Presentation</option> >+ [% END %] > > [%# Use non-normalized st-year instead of st-numeric, %] > [%# since pubdate can include 'u' to signify unknown %] >-- >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