Bug 42666: OPAC counterpart

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-05-26 11:26:00 +02:00 committed by Pedro Amorim
parent e82a3c7f96
commit c14daf3f3c
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 4 additions and 2 deletions

View File

@ -632,8 +632,10 @@ function _dt_visibility(table_settings, table_dt) {
table_settings.hasOwnProperty("default_display_length") &&
table_settings["default_display_length"] != null
) {
settings["pageLength"] =
table_settings["default_display_length"];
settings["pageLength"] = parseInt(
table_settings["default_display_length"],
10
);
}
if (
table_settings.hasOwnProperty("default_sort_order") &&