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>
Tue, 6 Jun 2023 18:40:12 +0000 (15:40 -0300)
commitf1cd3a44b083a8921ebae0f465eadca02cdb3014
treec88880cf20d1756226b98e6a0ffeaed2754387c2
parent6a6b64cd265bfea572fca76476f0f36e7edc0098
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