Koha-clms/koha-tmpl
Tomás Cohen Arazi 75eeedd735
Bug 22639: Add export mappings button to mappings page
This patch adds an 'Export mappings' button to the Elasticsearch
mappings configuration page. It triggers a YAML download of the
current search field mappings using the new API endpoint.

To test:
1. Apply this patch (and the previous API endpoint patch)
2. Navigate to Administration > Search engine configuration
=> SUCCESS: An 'Export mappings' button appears next to 'Reset mappings'
3. Click 'Export mappings'
=> SUCCESS: A 'search_mappings.yaml' file is downloaded
4. Verify the YAML file contains the expected mappings structure
=> SUCCESS: File contains search fields grouped by index
5. Sign off :-D

Signed-off-by: Laurence <laurence.rault@biblibre.com>
Signed-off-by: Thomas Klausner <domm@plix.at>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-04-15 11:37:18 -06:00
..
intranet-tmpl Bug 22639: Add export mappings button to mappings page 2026-04-15 11:37:18 -06:00
opac-tmpl Bug 42300: Add title and aria-label to authlink on the OPAC detail page 2026-04-15 09:14:53 -06:00