From 6f222544c4aca3f71dc0f731f609ed6c78b2bf09 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 6 Jan 2022 15:11:40 +0100 Subject: [PATCH] Bug 29648: Fix occurrences of GetColumns We could add the configuration to these tables as well, but let go first but the others (read: feeling lazy right now). Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 2 +- .../intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/circ/waitingreserves.tt | 8 ++++---- .../prog/en/modules/members/moremember-print.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 4 ++-- .../prog/en/modules/suggestion/suggestion.tt | 4 ++-- .../prog/en/modules/tools/marc_modification_templates.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/stockrotation.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- .../intranet-tmpl/prog/js/marc_modification_templates.js | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js | 4 ++-- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt index 0aefdbec1b..60990b452e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -283,7 +283,7 @@ } $(document).ready(function() { - columns_settings = [% TablesSettings.GetColumns( 'admin', 'currency', 'currencies-table', 'json' ) | $raw %] + columns_settings = [% TablesSettings.GetTableSettings( 'admin', 'currency', 'currencies-table', 'json' ) | $raw %] var issuest = KohaTable("currencies-table", { dom: 'B<"clearfix">t', }, columns_settings ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index e8508d2e94..adf125d512 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -314,10 +314,10 @@ $("#dataPreview .modal-body").html("
\"\" "+_("Loading")+"
"); }); - columns_settings = [% TablesSettings.GetColumns( 'cataloguing', 'addbooks', 'reservoir-table', 'json' ) | $raw %] + var table_settings = [% TablesSettings.GetTableSettings( 'cataloguing', 'addbooks', 'reservoir-table', 'json' ) | $raw %] var reservoirt = KohaTable("reservoir-table", { "pagingType": "simple" - }, columns_settings ); + }, table_settings ); }); /* this function open a popup to search on z3950 server. */ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 755fbca2ce..5a35cc181e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1039,8 +1039,8 @@ [% Asset.js("js/holds.js") | $raw %] [% INCLUDE 'calendar.inc' %]