@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ a/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -517,6 +517,14 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { (function($) { + /** + * Create a new dataTable instance that uses the Koha RESTful API's as a data source + * @param {Object} options Please see the dataTables documentation for further details + * @param {Object} column_settings The arrayref as returned by KohaTables include + * @param {Boolean} add_filters What does this actually do? + * @param {Object} default_filters What does this actually do? + * @return {Object} The dataTables instance + */ $.fn.kohaTable = function(options, columns_settings, add_filters, default_filters) { var settings = null; --