From 1e8001ce0af66a954d6e89f682d9929d45659c80 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 20 Mar 2025 16:44:29 +0100 Subject: [PATCH] Bug 26553: Fix kohaTable call in TrainsShow It's the only occurrence in Vue components --- .../prog/js/vue/components/Preservation/TrainsShow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue index 375af2b360f..7b24f6e9f15 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue @@ -598,7 +598,7 @@ export default { let train = this.train; let updateSelectedItems = this.updateSelectedItems; - let table = KohaTable(table_id, { + let table = $("#" + table_id).kohaTable({ data: item_table.data, ordering: false, autoWidth: false, -- 2.34.1