[Koha-bugs] [Bug 18731] Add routes for acquisition orders

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 13 19:46:45 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18731

--- Comment #49 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 97331
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97331&action=edit
Bug 18731: Overload K::A::Fund->to_api to avoid conflict

This patch overloads the to_api methods on the Fund class, so
conflicting (on mapping) attribute names are not a problem.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list