From 5f40aa713b68dab9678098bb9050dc11f106970f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 6 Jan 2025 10:14:29 +0100 Subject: [PATCH] Bug 38255: Fix Cash registers This patch fixes the following error: Uncaught TypeError: table.column is not a function We needed to pass table.DataTable() to filterDataTable I've decided to clean the code as it does not make sense to me: filterDataTable is called from a single place, and clearFilter is not needed (we should not interfer with the 'Clear filter' button here) Signed-off-by: Lucas Gass --- .../prog/en/modules/admin/cash_registers.tt | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt index 486ddf1eeec..d071a020745 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt @@ -235,34 +235,18 @@ [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] -- 2.34.1