[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
Thu Jan 28 15:57:50 CET 2021


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

--- Comment #11 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 115938
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115938&action=edit
Bug 27316: Convert 'undef' for sort to Yes and use Yes/No instead of 0/1

This patch changes the interface to remove the undef option
We also update existing mappings and set default of 1

Comment previously indicated undef was treated differently, but in the code we
treat undef as 1
That code is untoched to avoid creating problems for older mappings that may be
reloaded

To test:
1 - View the ES mappings, note you can set columns to Undef, 0, 1
2 - Set some to undef
3 - Apply patches
4 - Update database
5 - Undef now show as 'Yes'
6 - Confirm you can set columns as Yes/no
7 - Confirm that mandatory columns display correct value when readonly (see
issues field)

Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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


More information about the Koha-bugs mailing list