[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
Tue Jun 13 16:40:40 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33971

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 152304
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152304&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list