Bug 41512: (OPAC) Additional fix

This is needed or else the OPAC still throws the 'malformed query string' mentioned on the original test plan.
This is because the fix from bug 40865 was only applied to intra datatables.js not the OPAC datatables.

I don't know why this fixes it for the OPAC, but it does.

Joubu, thoughts?

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2026-01-21 08:37:26 -01:00 committed by Lucas Gass
parent 20d20ba9a9
commit fd87ee6edf
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 2 deletions

View File

@ -601,8 +601,8 @@ function _dt_visibility(table_settings, table_dt) {
if (options.ajax && !options.bKohaAjaxSVC) {
options.ajax = Object.assign(
{},
options.ajax,
_dt_default_ajax({ default_filters, options })
_dt_default_ajax({ default_filters, options }),
options.ajax
);
options.serverSide = true;
options.processing = true;