https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23649 --- Comment #59 from Lisette Scheer <lisette@bywatersolutions.com> --- Created attachment 211079 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211079&action=edit Bug 23649: Preserve value boosts when saving search field mappings Saving the mappings form deletes and recreates every search_field row, cascading away all search_field_value_boost rows via its ON DELETE CASCADE. Koha::SearchFieldValueBoosts gains existing_boosts_by_search_field_name/restore_from_existing_boosts to preserve boosts across the rebuild. Also adds the missing Koha::SearchFieldValueBoost->search_field accessor. prove t/db_dependent/Koha/SearchFieldValueBoost.t Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Sponsored-by: Southeast Kansas Library System Signed-off-by: Jason Robb <jrobb@sekls.org> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.