]> git.koha-community.org Git - koha.git/commit
Bug 29288: Add current_checkouts and old_checkouts methods to Koha::Biblio
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Oct 2021 21:02:01 +0000 (18:02 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 15:32:34 +0000 (17:32 +0200)
commit84f51671088194fd2a60499fec90877983047378
tree9c0587ac28ee2c52f6fdcb4cd7b97d2ed2170543
parentca5781d795313ac484d9056ef80157f11f8266b4
Bug 29288: Add current_checkouts and old_checkouts methods to Koha::Biblio

This patch adds helper methods for accessing current and past checkouts
for a given Koha::Biblio object.

To test:
1. Apply the unit tests
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> FAIL: Methods are not implemented
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm