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>
This commit is contained in:
Martin Renvoize 2021-11-03 16:29:21 +00:00 committed by Jonathan Druart
parent f0ca6749c5
commit db4cec8498
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {