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

--- Comment #43 from Jason Robb <[email protected]> ---
Created attachment 208758
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208758&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 <[email protected]>
Signed-off-by: Jason Robb <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to