[Koha-bugs] [Bug 23463] Move C4::Items CRUD subroutines to Koha::Item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 27 20:51:39 CET 2020


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

--- Comment #64 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
About the timestamp handling: shouldn't we better implement
Koha::Object->set_and_store of similar, that instead of overwriting the whole
object, just sets the really changed fields, and we leave the DB do the heavy
lifting? It looks wrong (as you also say, Jonathan) to be setting the timestamp
manually on the ->store method (be it in the Koha::Item class, or as a generic
approach in Koha::Object)

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


More information about the Koha-bugs mailing list