Bug 21983: Add Koha::Biblio->ill_requests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Jun 2023 16:53:18 +0000 (13:53 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 15:04:51 +0000 (12:04 -0300)
commita9759b3b0e1b9f4812f994012c109d99f9a9aa89
tree62547f85cd0195e1a879da7b57d648b3b0edee22
parentf6a7d96e1ef0aeb930304de07f686998d0562b6d
Bug 21983: Add Koha::Biblio->ill_requests

This patch adds a new method, used for retrieving the linked ill
requests for a biblio.

To test:
1. Apply this patch and run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblio.pm
Koha/Schema/Result/Biblio.pm
t/db_dependent/Koha/Biblio.t