Bug 25287: Add columns_settings capabilities to API datatables wrapper
commit6f5dc3dc0dd9fa02d6d11e92a6e466e545b8eccc
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Apr 2020 05:28:59 +0000 (27 02:28 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 13:15:41 +0000 (24 15:15 +0200)
treee01a237d8d0b073ed20a1d9010d2db72431cbe45
parent76ac7ae0a0cbf5141230e58be4a36fcfe28f54c1
Bug 25287: Add columns_settings capabilities to API datatables wrapper

This patch adds the code that is used for handling columns settings on
datatables and allows passing the columns_settings information to the
API-centric datatable. To test, you need bug 25288, which uses this features.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Works with bug 24561. Make working bug 25288

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/js/datatables.js
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js [copied from koha-tmpl/intranet-tmpl/prog/js/datatables.js with 83% similarity]