]> git.koha-community.org Git - koha.git/commit
Bug 32734: (QA follow-up) Make use of $c->objects->to_api
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Mar 2023 18:06:44 +0000 (15:06 -0300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 17 Mar 2023 17:28:17 +0000 (17:28 +0000)
commit87b1a931279c961b3112a189ee71f2fa0efa1aab
treefd7df6f160cf285bd1d5c55415352043821d313b
parent8c5d11a060fc77c0d2eda03cbd3822e1c100e132
Bug 32734: (QA follow-up) Make use of $c->objects->to_api

This is using plain `$biblios->to_api` but as of bug 33080, the new
helper should be used instead. This patch fixes that.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a8daacac2c0e80c70d3665a2016cbb20b16bcf5e)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/REST/V1/Biblios.pm