https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23486 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149273|0 |1 is obsolete| | --- Comment #24 from David Nind <david@davidnind.com> --- Created attachment 150119 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150119&action=edit Bug 23486: Set lastseen to default to current timestamp Generally, a patron is not registered without some action from the patron Defaulting the lastseen upon creation seems a reasonable way to set the initial value. This patch also makes the column NOT NULL to avoid any future data issues. To handle any currently NULL, we either set them to dateenrolled, or updated_on - the latter is already NOT NULL so is the bast fallback we have (assuming patron was also seen when they were updated) TO test: Apply patches Update database Create a patron Check their lastseen date Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.