Bugzilla – Attachment 115521 Details for
Bug 27406
Update admin/searchengine/elasticsearch/mappings.tt to adhere to ACC2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27406: Update elasticsearch mapping to adhere to ACC2
Bug-27406-Update-elasticsearch-mapping-to-adhere-t.patch (text/plain), 1.68 KB, created by
Martin Renvoize (ashimema)
on 2021-01-21 10:21:43 UTC
(
hide
)
Description:
Bug 27406: Update elasticsearch mapping to adhere to ACC2
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-01-21 10:21:43 UTC
Size:
1.68 KB
patch
obsolete
>From b0ff5b45fa57a4613fb4d341130d5fef0ba53699 Mon Sep 17 00:00:00 2001 >From: Catherine Ma <catherinem2003@gmail.com> >Date: Wed, 20 Jan 2021 02:53:36 +0000 >Subject: [PATCH] Bug 27406: Update elasticsearch mapping to adhere to ACC2 > >This patch changes the 1 occurance of an input of type="number" to input >type="text" inputmode="numeric" pattern="[0-9]*" > >Test plan: >open the file and ensure that no other inputs of type="number" >were missed > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../en/modules/admin/searchengine/elasticsearch/mappings.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 6547ff3f99..9adcfe0eaa 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 >@@ -276,7 +276,7 @@ a.add, a.delete { > </td> > <td> > [% IF search_field.mapped_biblios %] >- <input type="number" step="0.01" min="0.01" max="999.99" name="search_field_weight" value="[% search_field.weight | html %]" /> >+ <input type="text" inputmode="numeric" pattern="[0-9]*" name="search_field_weight" value="[% search_field.weight | html %]" /> > [% ELSE %] > <input type="hidden" name="search_field_weight" value=""> > [% END %] >-- >2.20.1
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 27406
:
115404
|
115406
|
115464
|
115482
| 115521