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: Laura Escamilla <laura.escamilla@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2026-01-21 08:37:26 -01:00 committed by Laura Escamilla
parent 352c56cb35
commit 934c9aef77
No known key found for this signature in database
GPG Key ID: 6B1D9CA1AF817BC3
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;