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

--- Comment #148 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 68548
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68548&action=edit
Bug 7317: Overload Koha::Illrequest::TO_JSON

This patch implements an overloaded TO_JSON method, that introduces
the option to (selectively) embed information required on the REST
api.

Tests are included for the new method.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Illrequests.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

Signed-off-by: Magnus Enger <mag...@libriotech.no>
Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to