[Koha-bugs] [Bug 33971] Remove support for x-koha-query header
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 16 17:37:40 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33971
--- Comment #16 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 152431
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152431&action=edit
Bug 33971: Remove x-koha-query header support
This patch removes support for the `x-koha-query` header entirely from
the codebase. For the purpose:
- $c->objects->search is adjusted
- Relevant tests are cleared/adapted
- The OpenAPI spec gets the header removed
To test:
1. Apply this patch and run:
$ ktd --shell
k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t \
t/Koha/REST/Plugin/Query.t \
t/db_dependent/api/v1/*.t
=> SUCCESS: Tests pass!
2. Sign off :-D
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list