Browse Source

Bug 29408: Rename Koha dataTables wrapper

This patch renames the Koha REST JS dataTables wrapper from the
ambigious 'api' to the clearer 'kohaTable'.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11/bug30761
Martin Renvoize 2 years ago
committed by Jonathan Druart
parent
commit
db4cec8498
  1. 2
      koha-tmpl/intranet-tmpl/prog/js/datatables.js

2
koha-tmpl/intranet-tmpl/prog/js/datatables.js

@ -517,7 +517,7 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
(function($) {
$.fn.api = function(options, columns_settings, add_filters, default_filters) {
$.fn.kohaTable = function(options, columns_settings, add_filters, default_filters) {
var settings = null;
if ( add_filters ) {

Loading…
Cancel
Save