|
Lines 517-522
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
Link Here
|
| 517 |
|
517 |
|
| 518 |
(function($) { |
518 |
(function($) { |
| 519 |
|
519 |
|
|
|
520 |
/** |
| 521 |
* Create a new dataTables instance that uses the Koha RESTful API's as a data source |
| 522 |
* @param {Object} options Please see the dataTables documentation for further details |
| 523 |
* We extend the options set with the `criteria` key which allows |
| 524 |
* the developer to select the match type to be applied during searches |
| 525 |
* Valid keys are: `contains`, `starts_with`, `ends_with` and `exact` |
| 526 |
* @param {Object} column_settings The arrayref as returned by TableSettings.GetColums function available |
| 527 |
* from the columns_settings template toolkit include |
| 528 |
* @param {Boolean} add_filters Add a filters row as the top row of the table |
| 529 |
* @param {Object} default_filters Add a set of default search filters to apply at table initialisation |
| 530 |
* @return {Object} The dataTables instance |
| 531 |
*/ |
| 520 |
$.fn.kohaTable = function(options, columns_settings, add_filters, default_filters) { |
532 |
$.fn.kohaTable = function(options, columns_settings, add_filters, default_filters) { |
| 521 |
var settings = null; |
533 |
var settings = null; |
| 522 |
|
534 |
|
| 523 |
- |
|
|