Bug 33974: Add Koha::Biblios->api_query_fixer
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Jun 2023 15:48:14 +0000 (12:48 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Jul 2023 17:51:42 +0000 (14:51 -0300)
commit60e8998e914d8f8ba9b2153d542bf42365a41994
treedb659c079e71e645438e17e401b268dbda23a6b1
parent8939dc992854c1022e1910a96ca2ac90c13e7f36
Bug 33974: Add Koha::Biblios->api_query_fixer

This patch adds the `api_query_fixer` method to the class, and adds
tests to validate its behavior.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Biblios.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblios.pm
t/db_dependent/Koha/Biblios.t