https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23486 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172927|0 |1 is obsolete| | --- Comment #39 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 174080 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174080&action=edit Bug 23486: Add creation to TrackLasPatronActivity triggers Some libraries would like to update the last seen when a patron is created to avoid NULL values and ensure new users are marked as 'active' To test: 1 - Apply patch 2 - Create a new patron, confirm their lastseen date is null SELECT lastseen FROM borrowers WHERE cardnumber={their cardnumber} 3 - Update preference 'TrackLastPatronActivity' to include 'Patron creation' 4 - Create a second patron, confirm their lastseen is set 5 - Update preference 'TrackLastPatronActivity' to include 'Checking out an item' 6 - Checkout an item to the second patron 7 - Confirm their lastseen is not updated (We only update once per day) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.