Koha-clms/Koha/REST/Plugin
Tomas Cohen Arazi 710bf4bb1b
Bug 40424: Simplify existing code - preparation
I wanted to isolate the changes for the query-in-body handling and it
made sense to refactor this dupicated code at the same time. So I add
this patch for tidying the area in preparation for the other part.

Duplicated code gets simplified.

To test:
1. Apply the unit tests patch
2. Run:
   $ ktd --shell
  k$ prove t/Koha/REST/Plugin/Query.t \
           t/db_dependent/api/v1/*.t \
           t/db_dependent/Koha/REST/Plugin/
=> SUCCESS: Tests pass!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-07-23 16:36:38 -06:00
..
Auth Bug 39367: Automatic changes 2025-04-23 09:35:14 +02:00
Exceptions.pm Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
Objects.pm Bug 40424: Simplify existing code - preparation 2025-07-23 16:36:38 -06:00
Pagination.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
PluginRoutes.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Query.pm Bug 40423: Add helper to stash x-koha-request-id header value 2025-07-23 16:36:37 -06:00
Responses.pm Bug 39367: Automatic changes 2025-04-23 09:35:14 +02:00