Koha-clms/Koha/Acquisition
Tomas Cohen Arazi 15595a5f35
Bug 25297: Consistent return value in K::A::Order->current_item_level_holds
This patch makes the return values for 'current_item_level_holds'
consistent: they will always be a Koha::Holds iterator.

To test:
1. Apply the regression tests
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Acquisition/Order.t
=> FAIL: It doesn't work as expected, cannot call ->count on undef, etc
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: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-01 08:16:38 +01:00
..
Bookseller Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
Invoice Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Basket.pm Bug 24918: Fix attribute mappings in Koha::Acquisition::Basket 2020-03-24 08:06:48 +00:00
BasketGroup.pm Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup 2020-03-24 11:32:37 +00:00
BasketGroups.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Baskets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Bookseller.pm Bug 18177: remove aqbooksellers.currency 2020-03-27 12:15:55 +00:00
Booksellers.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budget.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budgets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Currencies.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Currency.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Fund.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Funds.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Invoice.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Invoices.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Order.pm Bug 25297: Consistent return value in K::A::Order->current_item_level_holds 2020-05-01 08:16:38 +01:00
Orders.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00