Koha-clms/Koha/Club
Tomas Cohen Arazi af2cd5e303
Bug 23843: Add mapping to Koha::Club::Holds
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/clubs_holds.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:03 +01:00
..
Enrollment Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Hold Bug 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01:00
Template Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Enrollment.pm Bug 19618: (QA follow-up) POD Fix 2019-10-01 08:05:58 +01:00
Enrollments.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Field.pm Bug 19214: prevent crash if club_template_field is called in list context 2017-09-07 14:15:59 -03:00
Fields.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Hold.pm Bug 23843: Add mapping to Koha::Club::Holds 2019-10-23 18:03:03 +01:00
Holds.pm Bug 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01:00
Template.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Templates.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00