From 243e41cb274af93dab13fcf31fc2daae29294308 Mon Sep 17 00:00:00 2001 From: danyonsewell 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 %] [% END %] + -- 2.39.2