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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 15:21:29 +0000 (16:21 +0100)
commit949ba13a6e51acd078535e01d74efae9756b5fcc
tree8fdd7ff37c7d1fc311d24f9f0c7537e609382369
parent58efec81e3dbb9d36ccce3c52bf23cea7dd10c35
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>
(cherry picked from commit 60e8998e914d8f8ba9b2153d542bf42365a41994)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Biblios.pm
t/db_dependent/Koha/Biblios.t