Bug 29082: Add filtering methods to Koha::ArticleRequests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Sep 2021 18:23:07 +0000 (15:23 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Oct 2021 08:54:59 +0000 (10:54 +0200)
commit6ae273ddcbe80f65ace0445f2cba139dfe579c72
treebc6482662abd85e7cd3cc7d15f8dd321d9616ccf
parent861bce53c314eb410c2a87229b33aca70f882814
Bug 29082: Add filtering methods to Koha::ArticleRequests

This patch adds handy methods for filtering Koha::ArticleRequests
resultsets.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/ArticleRequests.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/ArticleRequests.pm
t/db_dependent/Koha/ArticleRequests.t