[Koha-bugs] [Bug 23893] Add ->new_from_api and ->set_from_api methods to Koha::Object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 27 16:22:17 CET 2019


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

--- Comment #24 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 96660
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96660&action=edit
Bug 23893: No special care for booleans

Tests pass without that changes. If we need them they should be at
Koha::Object anyway.

About the date, I also think that that should be moved to Koha::Object
(we can guess it, like we do in Koha::Object->store, retrieve the
datatype and adjust). Also we can send a DT object to DBIC, no need for
an sql formatted date

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