$.fn.kohaTable = function ( options = {}, table_settings, add_filters, default_filters, filters_options, external_filter_nodes, show_search_descriptions, additional_search_descriptions ) { We should destructure and use named parameters instead. $.fn.kohaTable = function ({ options = {}, table_settings, add_filters, default_filters, filters_options, external_filter_nodes, show_search_descriptions, additional_search_descriptions } = {}) {
I can work on that as soon as people are ready to test.