]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Mon, 6 Feb 2023 15:48:47 +0000 (15:48 +0000)
commite358100ebfb25814a7b499b40e6b1a5d8c3c1274
treebc3a5660b6350283211fd19f232235164f7976e4
parent270170cd0e37ed016bec0ba845ce887f1b2414d0
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>
(cherry picked from commit a4546536298a8c921de434de0ea3fbd58c6dd303)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
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