https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41469 --- Comment #5 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 201780 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201780&action=edit Bug 41469: Add ability to define custom types This patch removes the ENUM limits from search_fields.type to allow for custom values. It adds a new SEARCH_FIELD_TYPES authorizsed value category for controlling the types that are available. I also edit av-build-dropbox.inc to allow for its use on Search fields configuration page and to handle disabling and adding a custom data field. Incidentally I add some chomping to keep the HTML smaller To test: 1 - Apply patch - update database 2 - Confirm you can load/edit search engine configuration as before 3 - Add a new SEARCH_FIELDS_TYPE value 'zh_cn' description 'Transliterate Chinese' 4 - Apply POC patch from earlier 5 - Reload elasticsearch mappings 6 - Add a new field 'title-transliterated' 7 - Reindex your catalog 8 - Confirm searching works as expected -- You are receiving this mail because: You are watching all bug changes.