[Koha-bugs] [Bug 29010] weight input pattern wrong

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 14 11:19:31 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29010

--- Comment #1 from Thomas Klausner <domm at plix.at> ---
Created attachment 124855
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124855&action=edit
Bug 29010: fix pattern in search_field.weight

search_field.weight is of type NUMERIC(5,2) in the database, and values
are rendered as floats in /admin/searchengine/elasticsearch/mappings.pl

But the field validation only accepts INTs. This patch fixes the pattern
to accept NUMERIC(ish) values

Sponsored-by: Steiermärkische Landesbibliothek

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list