[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 14:39:25 CET 2020


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

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 114743
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114743&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'

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


More information about the Koha-bugs mailing list