[Koha-bugs] [Bug 27316] In mappings use yes/no for sortable
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 21:32:20 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27316
Lucas Gass <lucas at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114743|0 |1
is obsolete| |
--- Comment #3 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 114752
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114752&action=edit
Bug 27316: In Elasticsearch mappings use yes/no for sortable
In search engine configuration (Elasticsearch), there is a colum 'sortable'.
It contains 'Undef', 0 or 1.
0 and 1 are not really friendly values for a boolean.
And also the translation seems to replace 0 by empty string (seen in fr-FR
translation).
I propose to replace by Yes/No like other boolean.
Test plan :
1) Without patch, look at Administration > Search engine configuration
(Elasticsearch)
2) Look at tab 'Bibliographic records'
3) Look at a row containing 0 and a row containing 1
4) Apply patch
5) Refresh page
6) Check 0 is now 'No' and 1 is now 'Yes'
7) Check creating a new row with 'Yes' or 'No'
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list