Bugzilla – Attachment 127313 Details for
Bug 29408
The datatables api wrapper is ambiguously named
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29408: Rename Koha dataTables wrapper
Bug-29408-Rename-Koha-dataTables-wrapper.patch (text/plain), 1.19 KB, created by
Martin Renvoize (ashimema)
on 2021-11-04 12:10:24 UTC
(
hide
)
Description:
Bug 29408: Rename Koha dataTables wrapper
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-04 12:10:24 UTC
Size:
1.19 KB
patch
obsolete
>From 7e2693455e7c253c837415389c1b663417870d02 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 3 Nov 2021 16:29:21 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 16c4e89584..09d1a0e3df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/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 ) { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29408
:
127272
|
127273
|
127274
|
127282
|
127283
|
127284
|
127290
|
127291
|
127292
| 127313 |
127314
|
127315