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 and default_sort_order.
C4::Utils::DataTables::TablesSettings::update_table_settings( { module => $module, pag => $page, tablename => $tablename, default_display_length => $default_display_length, default_sort_order => $default_sort_order } );
Will update the default_display_length and default_sort_order for the given table.