Bugzilla – Attachment 166093 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), 2.56 KB, created by
Danyon Sewell
on 2024-05-03 02:09:22 UTC
(
hide
)
Description:
Bug 36723: Add musical presentation to Elasticsearch index mappings
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-05-03 02:09:22 UTC
Size:
2.56 KB
patch
obsolete
>From 243e41cb274af93dab13fcf31fc2daae29294308 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Fri, 3 May 2024 02:03:04 +0000 >Subject: [PATCH] Bug 36723: Add musical presentation to Elasticsearch index > mappings > >Thanks for the minor changes David. > >For your other two points noted: > >1. I think that's a bit out of scope for this enhancement, all we're really wanting to do is add this particular index to the advanced search feature, what your suggesting i'd assume would require a change within the xslt. > >2. You're absolutely right that's my mistake, I have updated that in this latest patch, hopefully that should be all that is required. > >also going to copy your testing plan as it's much clearer than mine was :) > >Testing plan: > >1. Start up KTD with Elasticsearch: ktd --es8 up >2. Apply the patch and restart everything (restart_all). >3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) >4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev >5. Alternative to steps 3 and 4: reset_all >6. Update the visibility for 254$a in the default framework so that it is visible in the Editor (OPAC, Staff interface should already be selected). >7. Add a new record using the default framework and put a term in 254$a, such as 'Full score'. >8. Use the advanced search. For the keyword indexes, 'Musical presentation' is now listed. >9. Search for the term you added for the record in step 6. >10. Do this for both the Opac and Staff Client. > >Sponsored-by: Education Services Australia SCIS >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 21d4d1b025..2accbe4e11 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -103,6 +103,7 @@ > [% ELSE %] > <option value="nb">ISBN</option> > [% END %] >+ <option value ="musical-presentation">Musical presentation</option> > <option value="bc">Barcode</option> > </select> <!-- /#search-field_[% loop.index | html %] --> > </div> <!-- .search-term-input --> >-- >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