From 080f5a249787a4e34567b33268f3a62d67c6eb59 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 Feb 2026 10:32:39 +0100 Subject: [PATCH] Bug 41747: Tidy js/ill-availability.js xt/js_tidy.t does not check all files every run (it's using the incremental runs). Something happened (node version changed?) and this is triggered because bug 41512 modified those files Test plan: 0. Do not apply this patch 1. KOHA_CI_INCREMENTAL_RUNS=1 prove xt/js_tidy.t => fail 2. Apply this patch 3. Run prove again => pass 4. Run prove without the env var set => pass (i.e. there are no other JS files not tidy) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/js/ill-availability.js | 2 +- koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js b/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js index 8807dd95b6..64dd000b7e 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js @@ -119,7 +119,7 @@ $(document).ready(function () { pageSize = results.length; // These values are completely arbitrary, but they enable // us to display pagination links - (data.recordsFiltered = 5000), (data.recordsTotal = 5000); + ((data.recordsFiltered = 5000), (data.recordsTotal = 5000)); return results; }; diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js b/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js index 7ece769c33..2628595343 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js @@ -119,7 +119,7 @@ $(document).ready(function () { pageSize = results.length; // These values are completely arbitrary, but they enable // us to display pagination links - (data.recordsFiltered = 5000), (data.recordsTotal = 5000); + ((data.recordsFiltered = 5000), (data.recordsTotal = 5000)); return results; };