Bug 21983: Add Koha::Biblio->ill_requests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Jun 2023 16:53:18 +0000 (13:53 -0300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 12 Jun 2023 11:14:01 +0000 (11:14 +0000)
commit862b84555ae2d7189a5f85f04aafd73fc45cb48f
tree3c7ce85b095172c7f427b8951c61efb11e4cb469
parentb60671cff3664d59fabdf0799f1c4a19077bab83
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>
(cherry picked from commit a9759b3b0e1b9f4812f994012c109d99f9a9aa89)
Koha/Biblio.pm
Koha/Schema/Result/Biblio.pm
t/db_dependent/Koha/Biblio.t