C4::Utils::DataTables::TablesSettings - Koha DataTables Settings
my $settings = C4::Utils::DataTables::TablesSettings::get_table_settings( { module => $module, pag => $page, tablename => $tablename, } );
Returns the settings for a given table.
The settings are default_display_length, default_sort_order, default_save_state and default_save_state_search.
C4::Utils::DataTables::TablesSettings::update_table_settings( { module => $module, page => $page, tablename => $tablename, default_display_length => $default_display_length, default_sort_order => $default_sort_order, default_save_state => $default_save_state, default_save_state_search => $default_save_state_search, } );
Will update the default_display_length and default_sort_order for the given table.