Koha-clms/Koha/Acquisition
Tomas Cohen Arazi 1e52cb442b
Bug 24459: Make ->to_api pass $params through
This patch makes the to_api method in Koha::Acquisition::Inovice and
Koha::Patron pass the passed parameters to the base class to_api method.
This is required for things like embedding related objects.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Patron.t \
           t/db_dependent/Koha/Acquisition/Invoice.t
=> FAIL: Tests fail!
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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-23 09:07:16 +00:00
..
Bookseller Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
Invoice Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-11 11:45:24 +00:00
Basket.pm Bug 24457: Make overloaded ->to_api pass the params to parent method 2020-01-23 09:06:03 +00:00
BasketGroup.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
BasketGroups.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
Baskets.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
Bookseller.pm Bug 23843: Add mapping to Koha::Acquisition::Bookseller 2019-10-23 18:03:21 +01:00
Booksellers.pm Bug 19130: (followup) Add POD 2017-08-25 11:53:44 -03:00
Budget.pm Bug 19826: Add K::Acq::Budget(s) and K::Acq::Fund(s) 2017-12-26 12:05:51 -03:00
Budgets.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Currencies.pm Bug 15084: Fix conflict with bug 15446 (type vs _type) 2016-03-03 20:39:03 +00:00
Currency.pm Bug 16053: Do not remove the active flag when editing the active currency 2016-03-21 21:35:04 +00:00
Fund.pm Bug 18731: Overload K::A::Fund->to_api to avoid conflict 2020-01-14 09:24:31 +00:00
Funds.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Invoice.pm Bug 24459: Make ->to_api pass $params through 2020-01-23 09:07:16 +00:00
Invoices.pm Bug 20726: Add new method Acquisition::Order->invoice 2018-08-30 13:40:37 +00:00
Order.pm Bug 18731: /acquisitions/orders endpoint 2020-01-09 16:25:41 +00:00
Orders.pm Bug 19256: (QA followup) Add missing POD 2017-09-07 15:03:04 -03:00