From 9b3addb185e0b20732c85ccccd07ba518a5cabf0 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 Signed-off-by: Lucas Gass (cherry picked from commit 2b6b7cb265acc77f8925eec9a9f315f249a85348) Signed-off-by: Aleisha Amohia --- 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 0e15a4fa0c..4656d70dcb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -943,7 +943,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.39.5