diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt index 855131c8f8..2105fbdd9a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -631,8 +631,10 @@ $("#holidaysyearlyrepeatable").kohaTable(dt_params); $("#holidaysunique").kohaTable(dt_params); + let unique_table = $("#holidaysunique").DataTable(); + $(".show_past").on("change", function(){ - tables.draw(); + unique_table.draw(); }); $("a.helptext").click(function(){