From 098c807f30cad4366e1dbad8b2fefbbe1e5afa97 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 3 Sep 2020 03:57:01 +0000 Subject: [PATCH] Bug 26361: switch TableSettings to ColumnSettings Test Plan: -Be on 20.05.x -Go to returns.tt -See the error Uncaught SyntaxError: expected expression, got keyword 'var'. -Apply patch -Reload returns.tt, no error Signed-off-by: Fridolin Somers Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index af4441ccf1..8e92e28260 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -934,7 +934,7 @@ Dopop('hold-transfer-slip.pl?reserve_id=[% reserve_id | uri %]'); [% END %] [% END %] - var columns_settings = [% TablesSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) | $raw %] + var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) | $raw %] var returns_table = KohaTable("checkedintable", { "bFilter":false, "bPaginate":false, -- 2.20.1