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 <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2026-02-02 10:32:39 +01:00 committed by Lucas Gass
parent c58989fc51
commit 080f5a2497
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
2 changed files with 2 additions and 2 deletions

View File

@ -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;
};

View File

@ -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;
};