From e197ea6196f674b71a98b62755daa6abff3dfda0 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Mon, 9 Sep 2024 11:06:37 +0200
Subject: [PATCH] Bug 37857: Add callnumber and geo_point for new search fields

It is missing "Geo point" and "Call Number" from the options of
"Type" when creating a new search field.

Test plan:
Go to the elastic mapping config page, bottom of the page.
Notice that after this patch you see the 2 options in the dropdown list.

Signed-off-by: Chloe Zermatten <chloe.zermatten@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
---
 .../en/modules/admin/searchengine/elasticsearch/mappings.tt     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
index 42a800d89b..2f3d4f0417 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
@@ -292,6 +292,8 @@ a.add, a.delete {
                                         <option value="sum">Sum</option>
                                         <option value="isbn">ISBN</option>
                                         <option value="stdno">Std. Number</option>
+                                        <option value="callnumber">Call Number</option>
+                                        <option value="geo_point">Geo point</option>
                                     </select>
                                 </td>
                                 <td>
-- 
2.34.1