[Koha-bugs] [Bug 20621] Add ability for Koha::Object objects to update themselves with database generated value automatically
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 19 15:28:24 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20621
--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 74555
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74555&action=edit
Bug 20621: Add ability for Koha::Object objects to update themselves with
database generated value automatically
Koha objects should, on store() update themselves from the db if the database
creates any of the columns. That way we don't have to call discard_changes()
manually.
See
https://wiki.koha-community.org/wiki/Koha_Objects#store_doesn.27t_return_the_DB_object
for details.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list