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

--- Comment #57 from Jonathan Druart <[email protected]> ---
Created attachment 200505
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200505&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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to