Koha-clms/Koha/REST/V1
Tomas Cohen Arazi 1b9f3621df
Bug 23843: Add mapping to Koha::Acquisition::Fund
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/acquisitions_funds.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-23 18:03:24 +01:00
..
Acquisitions Bug 23843: Add mapping to Koha::Acquisition::Fund 2019-10-23 18:03:24 +01:00
Clubs Bug 23843: Add mapping to Koha::Club::Holds 2019-10-23 18:03:03 +01:00
Patrons Bug 23843: Add mapping to Koha::Account::Line 2019-10-23 18:02:56 +01:00
Auth.pm Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00
Biblios.pm Bug 23677: Controller method and dependencies tweak 2019-10-08 14:33:34 +01:00
Checkouts.pm Bug 23843: Add mapping to Koha::Checkout 2019-10-23 18:02:59 +01:00
Cities.pm Bug 23770: (follow-up) Use ->to_api in /cities 2019-10-21 10:04:17 +01:00
Holds.pm Bug 23843: Add mapping to Koha::Hold 2019-10-23 18:03:07 +01:00
Illrequests.pm Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
Items.pm Bug 23843: Add mapping to Koha::Item 2019-10-23 18:03:17 +01:00
Library.pm Bug 23843: Add mapping to Koha::Library 2019-10-23 18:03:11 +01:00
OAuth.pm Bug 23146: Add support for Basic auth on the OAuth2 token endpoint 2019-06-24 16:05:31 +01:00
Patrons.pm Bug 23843: Add mapping to Koha::Patron 2019-10-23 18:03:14 +01:00
Stage.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00
Static.pm Bug 22835: (follow-up) Remove comented code 2019-06-18 17:34:53 +01:00