]> git.koha-community.org Git - koha.git/commit
Bug 33484: Fix Vue tables
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Oct 2024 12:58:16 +0000 (14:58 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 28 Oct 2024 16:10:21 +0000 (17:10 +0100)
commit96b03e3a5bec52662fd84756b48b1f5aa7ea1b8b
tree5ab31bbfb0e90679c470297a035aa7a30bb6f5d9
parent8468524e1f4c687cc61f3710f72b4d6e21f2b822
Bug 33484: Fix Vue tables

datatables.net-vue3 does not use a specific id, and does not let us pass
one. It is generated, like: DataTables_Table_0 (and increment when a new
table is created).
So it's not possible to use this id: it can change and so is not
reliable.

I have tried to pass "data-koha-table-id" with a specific id
(KohaTable_agreements). Which was working, but actually we could simply
use the table settings key to identify the tables in the URL.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/js/datatables.js