https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41604 --- Comment #99 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 201459 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201459&action=edit Bug 41604: Save user decision per column when visibility changes - Modify column-visibility.dt event handler to store the visibility preference of the user - Improve _dt_force_visibility() to correctly pick the correctly visibility value depending on visibility_condition, is_hidden, and the user preference - Add _dt_get_expected_column_visibility() to guess what's the expected visibility - Force boolean true/false (vs 1/0) using !! - Rely on a global variable kohaTableUserChoices to store the user choice. It will be part of the state and store in localStorage. Signed-off-by: Jason Robb <jrobb@sekls.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.