]> git.koha-community.org Git - koha.git/commit
Bug 32401: Remove x-koha-query support
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Dec 2022 14:19:31 +0000 (11:19 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Feb 2023 14:59:26 +0000 (11:59 -0300)
commita4546536298a8c921de434de0ea3fbd58c6dd303
tree53d64bd99ac6f0fac148dbcb92d32b61ad537785
parent96cba5503c896b01bb4eb7eab326d2fa8c4b96dc
Bug 32401: Remove x-koha-query support

HTTP headers can only contain ASCII characters, and it is thus
impractical to use a header for passing DB queries that could contain
non-ascii characters.

We don't need it, and should be removed.

This patch removes traces from the datatables.js files and also from
detail.tt, which had it set to false anyway.

See bug 32406 and bug 32409 for the cases in which it was being used,
and problematic.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/js/datatables.js
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js